Blocking all weapons picking up.
hey, can someone give me a code that blocks all weapons pickup.
i got a code for only AWP, should i add other model ID's ? or there is another code : PHP Code:
|
Re: Blocking all weapons picking up.
return PLUGIN_HANDLED;
at the end of WeaponBox_Touch |
Re: Blocking all weapons picking up.
This works but can be optimized to avoid reading the model name. Im on my phone now but can do it for you later if nobody has chimed in yet.
http://forums.alliedmods.net/showpos...97&postcount=4 |
Re: Blocking all weapons picking up.
This is my code, and model name is not read.
Block All Weapons PickUP : PHP Code:
|
Re: Blocking all weapons picking up.
like:
PHP Code:
|
Re: Blocking all weapons picking up.
|
Re: Blocking all weapons picking up.
Advanced version:
PHP Code:
|
Re: Blocking all weapons picking up.
Final version, remove those weapons will prevent fonctions from being caled a lot.
PHP Code:
|
Re: Blocking all weapons picking up.
PHP Code:
|
Re: Blocking all weapons picking up.
Quote:
|
| All times are GMT -4. The time now is 08:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.