Damge Increase problem
#3

Move your codes to OnPlayerDeath , that should work and you don't have to check if the player health lower than 0 this function used when the player death ( when his health equal too 0 then that's automatically check instead of checking every damage if his health equal 0 ) just use something like that
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SetPlayerScore(killerid,GetPlayerScore(killerid)+1);
    return 1;
}
PS: Sorry for editing!
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)