Help count frags + reward
Hello,
Can someone make a plugin that Count frags from 0 to death and show this message in hud: set_hudmessage(255, 0, 0, 0.02, 0.20, 0, 1.0, 1.0, 0.1, 0.2, 1) show_hudmessage(id, "Frags: %d", frags) After he die frags need to reset to 0. I must say i'm using CSDM and is only 1 round with no time per round When the player get to 10 frags set_user_health(id, 300) set_user_armor(id, 200) and his screen makes red for 1 sec and after he die to became normal 100 hp, 0 armor Thank you I've tryed something: PHP Code:
|
Re: Help count frags + reward
You hook DeathMsg incorrect.
PHP Code:
PHP Code:
|
Re: Help count frags + reward
It's not working ...
PHP Code:
|
Re: Help count frags + reward
What do you want to give?
|
Re: Help count frags + reward
Damn ... 300 hp / 200 armor / hudmessage to all / screenfade for 1 sec red to killer
|
Re: Help count frags + reward
Try this:
PHP Code:
|
Re: Help count frags + reward
Can't compile:
PHP Code:
|
Re: Help count frags + reward
create a global veriable.
PHP Code:
|
Re: Help count frags + reward
You should check if the Killer is alive / connected. Also some of your variables can be made static.
Also, reset g_Kills for the Victim, else they won't be resetted after death. |
Re: Help count frags + reward
Kia, ah I forgot. Anyway, he didn't request for reset ;)
|
| All times are GMT -4. The time now is 20:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.