• Creating onscreen button
    3 replies, posted
How would I go about creating a button on screen that is there all the time, so when I hold down C and release my cursor I can press on it to do something, any links to something like this or garry's mod wiki would be appreciated, I've got no idea where to start.
[QUOTE=274112;49984752]How would I go about creating a button on screen that is there all the time, so when I hold down C and release my cursor I can press on it to do something, any links to something like this or garry's mod wiki would be appreciated, I've got no idea where to start.[/QUOTE] Google GMod VGUI
To begin with you might want to learn how Derma works. [url]https://wiki.garrysmod.com/page/Derma_Basic_Guide[/url] By the sounds of it you want to know how to incorporate it as a HUD feature. You might struggle to begin with. [url]https://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index1064.html[/url] Guide is slightly outdated, but I used it to learn, and worked out fine. If it is all a mind fuck, you can always try [url]http://scriptfodder.com[/url] But it is always good to start learning with the small things early.
Thanks guys <3 Got the basics of this down.
Sorry, you need to Log In to post a reply to this thread.