14.01.2015, 13:29
it's a loop, it loops through players and give the result every time, if you wanna check for no players in jail use this,
pawn Код:
for(new x = 0; x<MAX_PLAYERS; x++)
{
if(PlayerInfo[x][pjailed] == 1)
{
//list jailed players
}
else if(x == MAX_PLAYERS -1)
{
//no players in jail
}
}