28.12.2012, 10:01
Well first off, having each if statement on one line, it can cause a bit of confusion with the && and || etc.
So you can try splitting it into different if statements and see if that works.
So you can try splitting it into different if statements and see if that works.
pawn Код:
if((i != playerid))
{
if(pInfo[playerid][Admin] > pInfo[i][Admin])
{
if(RaceParticipant[playerid] < 0)
{
if(GetPlayerState(i) != 1 && GetPlayerState(i) != 2 && GetPlayerState(i) != 3)
{
if(pInfo[i][Jail] == 0)
{
if(pInfo[i][Freeze] == 0)
{
//Code here
}
}
}
}
}
}