With these commands, there are worlds of possibilities available. Some of the examples above can change camera angles, give NPCs weapons, and spawn in various entities. Feel free to experiment with the cheats above. Spawning in Weapons When you use the “ent_create” command and add the item...
4 changes: 2 additions & 2 deletions 4 GMod-SDK/client/C_BasePlayer.h Original file line numberDiff line numberDiff line change @@ -308,7 +308,7 @@ class C_BasePlayer /*231*/ virtual bool UsesLua(void) = 0; /*232*/ virtual int GetLuaEntityType(void) = 0; /*233*/ virtual...
cvars.AddChangeCallback("AdvDupe2_RemoveFilesOnDisconnect", function(cvar, preval, newval) if(tobool(newval))then hook.Add("PlayerDisconnected", "AdvDupe2_RemovePlayersFiles", RemovePlayersFiles) else hook.Remove("PlayerDisconnected", "AdvDupe2_RemovePlayersFiles") end end) hook.Add("Initializ...