Health Kill - v1.1 [9/17/09]
1 Attachment(s)
Health Kill v1.1 description With each kill a player makes he is awarded a controllable amount of HP. cvars amx_hk_health <#> - Amount of HP received for one kill. changelog
credits
|
Re: Health Kill - v1.0 [9/17/09]
First!, GJ Nice plugin ;) +K
|
Re: Health Kill - v1.0 [9/17/09]
Another simple plugin by BOYSplayCS -.-
|
Re: Health Kill - v1.0 [9/17/09]
You never learn.
- Retrieve data after the checks - if ((iKiller = iVictim)) <= it's not a check if victim is the same as killer. It should be == and without (). - PLUGIN_HANDLED for what ? It does nothing. Return nothing or CONTINUE. - Sync hud for what ?! |
Re: Health Kill - v1.1 [9/17/09]
Wrong, I do learn.
- I already added this before your post - It was never '=', it was always '==' - Simple mistake, I meant CONTINUE - I was just testing to see what the difference was, don't have a heart attack Updated. |
Re: Health Kill - v1.1 [9/17/09]
Try to compile your plugin before posting.
"if (iKiller = iVictim)" Again, it should be == not =. |
Re: Health Kill - v1.1 [9/17/09]
Oh, lol.
I uploaded the wrong version, let me fix that real quick. |
Re: Health Kill - v1.1 [9/17/09]
- You still return HANDLED at the end..
- Make sure that the killer is a player 1 <= killer <= max_clients or is_user_alive() |
Re: Health Kill - v1.1 [9/17/09]
amx_hk_health -50, awesome.
|
Re: Health Kill - v1.1 [9/17/09]
I wonder this plugin will be unapproved :/
|
All times are GMT -4. The time now is 00:13. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.