ufvi.blogg.se

How t change a derma skin in gmod
How t change a derma skin in gmod









how t change a derma skin in gmod how t change a derma skin in gmod

Hook.Add ( "Initialize", "your_hook_name_here", function ( ) - Here you must put all your derma controls. Add some lines to the file: (Copy the code) \steamapps\ \garrysmod\garrysmod\lua\autorun\client\your_file_aĪbout gamemode menus you should read in article that teaches you doing gamemodes.Īfter you have created your file you should open it. \steamapps\ \garrysmod\garrysmod\addons\ \lua\autorun\client\your_file_aĮlse if you want to make client-side menu for personal use, you should place your files here: If you want to make client-side menu addon, you should place your files here: I recommend you to start from learning where your files must be placed into. If you are writing a server addon with clientside derma controls however, you should be fine. This means that if the server does not have your script, you will not be able to use it. Script Enforcer prevents user-made clientside files from executing. This tutorial requests that you have some lua skills. It will be updated as soon as I learn something new in derma controls.ĭerma is a set of vgui elements built-in into Garry's Mod that are really easy to use and quite beautiful.ĭerma controls are completely client-side, so you can use custom panels on servers. This tutorial is about how to use derma controls. Improvement can be discussed on the talk page. This page needs to be edited as it contains information that is unclear or incorrect.











How t change a derma skin in gmod