Block pickup Secondary weapon only?
Hi is there any plugin that block pickup secondary only? I've search and only found block pickup all weapon. Thanks first!
:D :D :D |
Re: Block pickup Secondary weapon only?
Yes. Hook touch with weaponbox, retrieve the weapon entity index inside that box, get the weapon id from the weapon entity index and finally check if it's a secondary weapon by comparing it with the ids of all secondary weapons.
(I'm aware this is suggestions/requests and not scripting help) |
Re: Block pickup Secondary weapon only?
Try this:
PHP Code:
|
Re: Block pickup Secondary weapon only?
Entity is not a CSW_* index.
|
Re: Block pickup Secondary weapon only?
Quote:
Here - cspum |
All times are GMT -4. The time now is 13:16. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.