drop weapon
how can i check if a player has dropped a weapon/bomb(without using client_PreThink)
Thanks for help... P34nut |
I am not sure if this works or not.
Code:
|
It works. I used it in my Satchel Charges plugin to drop the detonator when the player had the knife out.
|
He said
Quote:
It's possible to use a task with a short delay but i don't think that would work good in some cases. I prefer fakemeta set_model way which i used in my "No weapon drop on death" plugin. |
Code:
That one way of doing that. |
Note: fakemeta set_model method would work for any drop: manual, automatic (buy, death). Also you have to check owner to filter out weapon buy/give.
|
Ok its works in my script now :D
thanks everyone this 1 can be closed :D |
| All times are GMT -4. The time now is 16:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.