I’m using the code from http://wiki.garrysmod.com/?title=LUA:Gamemode_from_scratch and the when I load it up in Gmod it never works. It always starts up as a Sandbox gamemode and never the one I want. Can someone help me or direct me to some code that I can build upon.
Hmm well could you please look at your console (all of uy) for lua related errors; so that this code example may he fixed?
When you’re making a multiplayer server (“Create Server”), remember to go to Options and choose the gamemode, instead of Sandbox.
Oh, and remember to make an info.txt
“name” “” // Gamemode Name
“version” “” // Gamemode version
"author_name" "" // Name "author_email" "" // Email "author_url" "" // Homepage "info" "" "hide" "0"
When i started to make my first gamemode i used that tutorial but it didnt work out for me so i used this instead: http://wiki.garrysmod.com/?title=Advanced_Gamemode
Copy the stuff you want from the tutorial you use now like health gen etc.
That’s what happens when you’re answering on an iPod with one hand, using the other one to eat clementines.