[HELP] Variables arent counting
#3

Quote:
Originally Posted by Libra_PL
Посмотреть сообщение
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
     if(playerid != INVALID_PLAYER_ID) // Valid killer
     {
        PlayerInfo[playerid][pDeaths] ++ ;
        LooseWeapons(playerid);
        PlayerInfo[killerid][pKills] ++;
     }
     if(playerid == INVALID_PLAYER_ID) // Invalid killer
     {
        PlayerInfo[playerid][pDeaths] ++ ;
        LooseWeapons(playerid);
     }
     return 1;
}
Try that.

What did you actually change?
Reply


Messages In This Thread
[HELP] Variables arent counting - by DeadDon - 09.04.2012, 12:55
Re: [HELP] Variables arent counting - by Libra_PL - 09.04.2012, 12:56
Re: [HELP] Variables arent counting - by DeadDon - 09.04.2012, 13:01
Re: [HELP] Variables arent counting - by Cjgogo - 09.04.2012, 13:03
Re: [HELP] Variables arent counting - by Libra_PL - 09.04.2012, 13:04
Re: [HELP] Variables arent counting - by DeadDon - 09.04.2012, 13:04
Re: [HELP] Variables arent counting - by Cjgogo - 09.04.2012, 13:06
Re: [HELP] Variables arent counting - by emokidx - 09.04.2012, 13:12
Re: [HELP] Variables arent counting - by DeadDon - 09.04.2012, 13:12
Re: [HELP] Variables arent counting - by DeadDon - 09.04.2012, 13:21

Forum Jump:


Users browsing this thread: 1 Guest(s)