Register for your free account! | Forgot your password?

You last visited: Today at 06:19

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



MTA map editor

Discussion on MTA map editor within the Grand Theft Auto forum part of the Other Online Games category.

Reply
 
Old   #1
 
dj19988's Avatar
 
elite*gold: 30
Join Date: Nov 2011
Posts: 506
Received Thanks: 126
MTA map editor

How can i disable clouds in map editor?
How to login as admin in map editor?
please someone answer me
dj19988 is offline  
Old 03/15/2014, 14:29   #2
 
Merkur Magnus's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 1,931
Received Thanks: 1,041
1.

2.
Merkur Magnus is offline  
Thanks
1 User
Old 03/16/2014, 09:01   #3
 
dj19988's Avatar
 
elite*gold: 30
Join Date: Nov 2011
Posts: 506
Received Thanks: 126
i don't know how to use this... xD please teach me?
function disableClouds ()
setCloudsEnabled ( false ) -- Hide the clouds for all players when the resource starts
end
addEventHandler ( "onResourceStart", getResourceRootElement(getThisResource()), disableClouds )
dj19988 is offline  
Old 03/17/2014, 12:40   #4
 
Merkur Magnus's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 1,931
Received Thanks: 1,041
Create a .lua file and a meta.xml and you put:

-- lua file:

HTML Code:
addEventHandler ( "onClientResourceStart", resourceRoot,
    function ( )
        setCloudsEnabled ( false )
    end
)

-- meta.xml:

HTML Code:
<meta>
    <script src="script.lua" type="client" />
</meta>
Merkur Magnus is offline  
Old 03/20/2014, 09:16   #5




 
Legendary's Avatar
 
elite*gold: 25
Join Date: Apr 2012
Posts: 5,555
Received Thanks: 633
Quote:
Originally Posted by Hannibal​ View Post
Create a .lua file and a meta.xml and you put:

-- lua file:

HTML Code:
addEventHandler ( "onClientResourceStart", resourceRoot,
    function ( )
        setCloudsEnabled ( false )
    end
)

-- meta.xml:

HTML Code:
<meta>
    <script src="script.lua" type="client" />
</meta>
+

a separate resource and then you can control the Resource inGame (ACL rights must be present), or by entering the commands in the console ( "start RESOURCENAME" )
Legendary is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Request] DB Editor / Client Editor / PK2 Editor.
08/30/2013 - SRO Private Server - 3 Replies
Would like to make some Updates on the Server and need some peoples to make em. - Add me on Skype : Saint.sinner8 ( will be rewarded )



All times are GMT +1. The time now is 06:21.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.