Damge Increase problem
#1

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

Код:
new Float:hp;
GetPlayerHealth(playerid, hp)
if(hp <= 0)
{
    SetPlayerScore(killerid, GetPlayerScore(killerid)+1);
}
Reply


Messages In This Thread
Damge Increase problem - by Iron3man - 12.12.2013, 11:36
Re: Damge Increase problem - by Deduction - 12.12.2013, 11:46
Re: Damge Increase problem - by SilentSoul - 12.12.2013, 11:49
Re: Damge Increase problem - by newbie scripter - 12.12.2013, 11:52
Re: Damge Increase problem - by Iron3man - 12.12.2013, 12:11
Re: Damge Increase problem - by xVIP3Rx - 12.12.2013, 12:26
Re: Damge Increase problem - by Iron3man - 12.12.2013, 12:41
Re: Damge Increase problem - by xVIP3Rx - 12.12.2013, 12:46
Re: Damge Increase problem - by Iron3man - 12.12.2013, 13:08
Re: Damge Increase problem - by xVIP3Rx - 12.12.2013, 13:14

Forum Jump:


Users browsing this thread: 1 Guest(s)