Sorry to come bothering all you Lua coders etc, but I have a question to ask on this marvelous forum. Is there or how would I start to code a script that when E or the activation button is pressed, it will set your rank to whatever, or display a GUI that asks for a users output and based on that, will toss out a rank. I am trying to make something like the sorting hat type thing from HP.
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/ENTITY/Use]ENT:Use[/url]
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/math/random]math.random[/url]
[img]http://wiki.garrysmod.com/favicon.ico[/img] [url=http://wiki.garrysmod.com/page/Global/RunConsoleCommand]RunConsoleCommand[/url]
FYI: Next time use the developer or help section
Sorry, you need to Log In to post a reply to this thread.