Late, but do it with a ulx conmand instead. It would be much easier
I suggested it on another post, but got voted down because apparently having it setup in a slick ulx menu is much worse than having it just chilling in your autorun file.
Or you can just use these
[url]http://wiki.darkrp.com/index.php/Functions/DarkRP/Shared/declareChatCommand[/url]
[url]http://wiki.darkrp.com/index.php/Functions/DarkRP/Server/defineChatCommand[/url]
[QUOTE=Slyde;51759725]I suggested it on another post, but got voted down because apparently having it setup in a slick ulx menu is much worse than having it just chilling in your autorun file.[/QUOTE]
[QUOTE=code_gs]Sure there is: it adds extra overhead to do rank checks and process it as a ULX command. Also, if he ever switched admin mods then he'd have to remake it on that system. There's no reason to use a ULX command for something that doesn't need a rank check nor admin mod features. I just tested his code and it worked fine.[/QUOTE]
Prior_, this is also the 5th post you've made about your DarkRP server, 3 of which have been for this !content command which was working when you asked for help on the 1st of these 3 posts. You might want to take a look at some Lua guides that actually exist about all of these topics before coming here for every simple issue you encounter.
-snip-
Sorry, you need to Log In to post a reply to this thread.