Disable weapon pick up
How can i disable picking up, having and buying weapons for ONE person? So the only weapon is knife.
|
Re: Disable weapon pick up
|
Re: Disable weapon pick up
Didnt help. Anything more please?
|
Re: Disable weapon pick up
Quote:
|
Re: Disable weapon pick up
I think fakemeta have this function,
you should check other Zombie/HnS plugins code. check the zombie/runner part. |
Re: Disable weapon pick up
Try this to disable pick-up weapons.
Code:
|
Re: Disable weapon pick up
Need to disable it only for one particular person, not for all.
PHP Code:
|
Re: Disable weapon pick up
Only if you got this function (native_to_check_hero(id)) in this plugin and it returns true.
Natives makes in another way, you should search about them. Edit: and if you want to add IF in ham function, you should do like this to prevent errors: Code:
|
Re: Disable weapon pick up
[en] I know how to make natives and i do have them. But didnt know that i have to return HAM_IGNORED, ty ill try it today.
[ru] Спасибо, незнал что нужно хам игнор возвращать... =] |
Re: Disable weapon pick up
Code above blocks only touch. To block
Quote:
Code:
RegisterHam(Ham_AddPlayerItem, "player", "fw_AddPlayerItem"); |
| All times are GMT -4. The time now is 21:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.