Hear and not in the car
#2

pawn Code:
public OnPlayerText(playerid, text[])
{
    for( new i = 0; i < MAX_PLAYERS; i++ )
    {
        if( !IsPlayerInAnyVehicle( playerid ) && i != playerid && !IsPlayerInAnyVehicle( i ))
            return true;
        else if( !IsPlayerInAnyVehicle( playerid ) && i != playerid && IsPlayerInAnyVehicle( i ))
            return false;
    }
    return true;
}
Try that
Reply


Messages In This Thread
Hear and not in the car - by SlashPT - 17.12.2009, 21:32
Re: Hear and not in the car - by LarzI - 17.12.2009, 21:42
Re: Hear and not in the car - by SlashPT - 17.12.2009, 21:56

Forum Jump:


Users browsing this thread: 1 Guest(s)