PlaySoundForAll(sound) { for (new i = 0; i < MAX_PLAYERS; i++) { if(IsPlayerConnected(i)) PlayerPlaySound(i,sound,0,0,0); } }