stock GetPlayerInCar(vehicleid){ for(new i = 0; i < 500; i++) { if(!IsPlayerConnected(i)) continue; if(IsPlayerInVehicle(i, vehicleid) && GetPlayerState(i) == 2) return i; else continue; } return INVALID_PLAYER_ID;}