IsVehicleEmpty(carid){ for(new i = 0; i < MAX_PLAYERS; i++) { if(!IsPlayerConnected(i)) continue; if(IsPlayerInVehicle(i, carid)) return 0; } return 1;}