Prevent weapon pickup
I was wondering if anyone knew how to prevent a weapon from being picked up for the terrorist team, but the counter terrorists are able to pick up the weapons still..
I know how to force a player to drop weapons but it causes the game to crash once in a while. If anyone know how to help, please do! |
Re: Prevent weapon pickup
Code:
|
Re: Prevent weapon pickup
Hook FM_Touch. Check to see if it is a player entity touching a weaponbox entity, and then check the player's team. If everything meets your conditions, return PLUGIN_HANDLED to stop it from occurring, otherwise return PLUGIN_CONTINUE.
|
Re: Prevent weapon pickup
Quote:
@Avalanche = thanks ill try that:up: |
| All times are GMT -4. The time now is 22:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.