• [LUA Question] Disabling "give" command?
    2 replies, posted
Ok, this may sound stupid, but I don't know how to do this. Im making a gamemode which is sandbox based but I want to restrict the kind of users that can spawn props, weapons, entites, etc. Is there any function or something?
Override this hook: [url]http://wiki.garrysmod.com/page/SANDBOX/PlayerGiveSWEP[/url] and take a look at all PlayerSpawn* hooks [url]http://wiki.garrysmod.com/page/Category:SANDBOX_Hooks[/url]
[QUOTE=Internet1001;46088833]Override this hook: [url]http://wiki.garrysmod.com/page/SANDBOX/PlayerGiveSWEP[/url] and take a look at all PlayerSpawn* hooks [url]http://wiki.garrysmod.com/page/Category:SANDBOX_Hooks[/url][/QUOTE] Many thanks!!
Sorry, you need to Log In to post a reply to this thread.