// sound.inc // Author: Luke Sankey // Date: March 21, 2001 // // Just a little helper function that many of my files use #if defined _sank_sound_included #endinput #endif #define _sank_sound_included stock playsoundall(sound[]) { new maxplayers = maxplayercount(); new Name[MAX_NAME_LENGTH]; new i; for(i=1; i<=maxplayers; i++) { if(playerinfo(i, Name, MAX_NAME_LENGTH) == 1) { playsound(Name, sound); } } }