26.06.2012, 12:26
I changed it to
and it works perfectly, but I don't understand why. Continue skips the loop, so: if player is not connected - skip, if player is not NPC - skip, if player is not in any vehicle - skip. There shouldn't be any difference.
pawn Код:
if( IsPlayerConnected( i ) && IsPlayerNPC( i ) && IsPlayerInAnyVehicle( i ) )
{
// ...
}

