new vehid = GetPlayerVehicleID(playerid); for(new i = 0; i<MAX_PLAYERS; i++) { if(IsPlayerInVehicle(i, vehid)) {//play music for player "i"