Jump to content

setDeveloperMode Doesnt Work


Recommended Posts

Posted

And why are you using a command for it when it can only be enabled with the command.

Just only use setDevelopmentMode without functions and make sure it's client-side, script started and meta.xml configured correctly.

If I helped you, please click the like button on the right ;) Thanks!

Posted

Client-Side

addEventHandler('onClientResourceStart', resourceRoot, 
function() 
setDevelopmentMode (true) 
end) 

meta.xml

<meta> 
    <info name="DeveloperMode" version="1.0" type="script" author="X-SHADOW" description="MTA-Thing" /> 
    <!-- Required Server-Scripts --> 
    <script src="client.lua" type="client" /> 
  
</meta> 

My ingame nickname : Ops!

-DeathMatch GameMode By Ops! : 5%

Posted
Client-Side
addEventHandler('onClientResourceStart', resourceRoot, 
function() 
setDevelopmentMode (true) 
end) 

meta.xml

<meta> 
    <info name="DeveloperMode" version="1.0" type="script" author="X-SHADOW" description="MTA-Thing" /> 
    <!-- Required Server-Scripts --> 
    <script src="client.lua" type="client" /> 
  
</meta> 

I am still preferring no events to the mode since it's unnecessary.

If I helped you, please click the like button on the right ;) Thanks!

Posted

You can also:

/start runcode

/crun setDeveloperMode(true)

Diet with russian vodka, lose 3 days in one week !

Posted

If you don't know what he means it's a ACL Admin Account you have to add yourself to the ACL and you have to use /register via Console or you make it work InGame you can add a account by doing this /addaccount username password

in the console once you do add the admin to the ACL.xml and /login with the details you put it.

Current Projects

Cyandie's Cops and Robbers( 10% )

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...