Index out of bounds
#7

pawn Код:
if(killerid != INVALID_PLAYER_ID) // Valid killer, give cash+score
{
    PlayerInfo[killerid][pKills] += 1;
}
 
    // Outside the check, handle stuff for playerid
    // if killerid was INVALID_PLAYER_ID the player killed themselves (i.e. falling)
Just an example. Try to use it this way it should work
Reply


Messages In This Thread
Index out of bounds - by thefatshizms - 04.05.2013, 13:37
Re: Index out of bounds - by Yashas - 04.05.2013, 13:42
Re: Index out of bounds - by thefatshizms - 04.05.2013, 13:54
Re: Index out of bounds - by Yashas - 04.05.2013, 14:26
Re: Index out of bounds - by ryansheilds - 04.05.2013, 14:30
Re: Index out of bounds - by thefatshizms - 04.05.2013, 14:30
Re: Index out of bounds - by caki - 04.05.2013, 14:33
Re: Index out of bounds - by RajatPawar - 04.05.2013, 14:34

Forum Jump:


Users browsing this thread: 1 Guest(s)