TraceAttack -> Damage block -> Dead Status
Hello,
I'm working on a mod.. And I wanna freeze the player, when they are 'dead' I did like: Code:
if( (get_user_health(iVictim) - flDamage) <= 0 && is_user_connected(iAttacker)) {Ingame it says hes Dead -> I can't set glow on him :( How to fix? That it doesn't say Dead |
Re: TraceAttack -> Damage block -> Dead Status
If you want to make a player freeze instead of dying, you could just do this:
Code:
//...If that's not what you need, then explain what exacly you want to do. |
Re: TraceAttack -> Damage block -> Dead Status
I gonna test it now,
Thank you very much :) |
Re: TraceAttack -> Damage block -> Dead Status
Doesn't work,
Still player 'Dead' I also tryed to did on 100hp, but still :) |
Re: TraceAttack -> Damage block -> Dead Status
Try HAM_OVERRIDE instead of HAM_HANDLED then.
But the code should work, it can't print DEAD if the player is still alive... there's something wrong in your plugin or other plugins. |
| All times are GMT -4. The time now is 10:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.