12.12.2013, 11:36
I want to increase the damage in OnPlayerTakeDamage
So i know How to increase it, But when the player get kill, killerid won't get the score and kill
So i have done some coding in OnPlayerTakeDamage to give kill
and put the codes in last in OnPlayerTakeDamge
But it is not working
So i know How to increase it, But when the player get kill, killerid won't get the score and kill
So i have done some coding in OnPlayerTakeDamage to give kill
and put the codes in last in OnPlayerTakeDamge
But it is not working
Код:
new Float:hp; GetPlayerHealth(playerid, hp) if(hp <= 0) { SetPlayerScore(killerid, GetPlayerScore(killerid)+1); }