GetPlayerPos on NPC returns 0.0, 0.0, 0.0
#8

I changed it to
pawn Код:
if( IsPlayerConnected( i ) && IsPlayerNPC( i ) && IsPlayerInAnyVehicle( i ) )
{
    // ...
}
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.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)