micheal1230 Posted May 31, 2012 Posted May 31, 2012 Unknown Setting Error function devmode() setDevelopmentMode (true) end addCommandHandler("devmode", devmode)
Wei Posted May 31, 2012 Posted May 31, 2012 is it client side ? Diet with russian vodka, lose 3 days in one week !
myonlake Posted May 31, 2012 Posted May 31, 2012 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!
X-SHADOW Posted May 31, 2012 Posted May 31, 2012 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%
myonlake Posted June 1, 2012 Posted June 1, 2012 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!
micheal1230 Posted June 1, 2012 Author Posted June 1, 2012 do you know what this function does? Yes it enable developer mode so you can do commands like showsound and showcol i mainly wanted it for /showcol
Wei Posted June 1, 2012 Posted June 1, 2012 You can also: /start runcode /crun setDeveloperMode(true) Diet with russian vodka, lose 3 days in one week !
Jaysds1 Posted June 1, 2012 Posted June 1, 2012 you have to be an admin, so try logging into your admin account then try the command My in-game name: Jaysds1 Retired CMG Scripter World Of Tanks GameMode (Open-Source): https://github.com/Jaysds1/mtasa-wot-gamemode Online GUI-Editor (WIP): https://forum.mtasa.com/topic/47678-online-gui-editor/
Cyandie Posted June 1, 2012 Posted June 1, 2012 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% )
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now