![]() ![]() MyButton:SetText( "Call for a staff member" )Ĭoncommand. Local MyButton = vgui.Create("DButton", MyDerma ) Local MyLabel = vgui.Create( "DLabel", MyDerma ) MyDerma:SetPos( midW - ( MyDerma:GetWide() / 2 ), midH - ( MyDerma:GetTall() / 2) ) In addition to the resources /u/SimonJ57 gave, you should also check out the Derma Basic Guide on the Garry's Mod wiki. Local midW, midH = ScrW() / 2, ScrH() / 2 ![]() So i made the code to where when i type "Openderma" in console it runs the script, but when i type that in console in my single player world nothing happens, i have the location of the file set up as so "C:\Program Files (x86)\Steam\steamapps\common\GarrysMod\garrysmod\addons\MyNewDerma\lua\autorun" and the file inside auto run being the code i just wrote, is named sh.lua, here is the whole code ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |