if(newstate == PLAYER_STATE_DRIVER || newstate == PLAYER_STATE_PASSENGER) { if(team[playerid] == 2) { RemovePlayerFromVehicle(playerid); } }