• Find Holstered Weapons
    2 replies, posted
Hiya, I want to make a script that makes it so you can only pick up one of each gun, and im not sure how to find what the have holstered.
[url]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index6343.html[/url] Then, on PlayerCanPickupWeapon hook, check if the weapon they're picking up is already in their inventory. If so then just return false. [url]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index3789.html[/url]
[QUOTE=Nookyava;43737207][url]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index6343.html[/url] Then, on PlayerCanPickupWeapon hook, check if the weapon they're picking up is already in their inventory. If so then just return false. [url]http://maurits.tv/data/garrysmod/wiki/wiki.garrysmod.com/index3789.html[/url][/QUOTE] Much thanks
Sorry, you need to Log In to post a reply to this thread.