Except
#2

In the loop which searches the closest vehicle
pawn Код:
if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
{
  if(GetPlayerVehicleID(playerid) == vehicleid) //the variable used in your loop which goes through vehicles
  {
    continue; //skips the current loop
  }
}
Reply


Messages In This Thread
Except - by Mike Garber - 01.12.2009, 23:03
Re: Except - by dice7 - 02.12.2009, 05:39

Forum Jump:


Users browsing this thread: 1 Guest(s)