PlayerPlaySound for everybody?
#2

pawn Код:
PlaySoundForAll(sound)
{
for (new i = 0; i < MAX_PLAYERS; i++)
  {
  if(IsPlayerConnected(i)) PlayerPlaySound(i,sound,0,0,0);
  }
}
and when you want to make a sound play for everyone simply put this:
pawn Код:
PlaySoundForAll(sound id);
Reply


Messages In This Thread
PlayerPlaySound for everybody? - by Torran - 27.01.2010, 16:31
Re: PlayerPlaySound for everybody? - by ~Dangun! - 27.01.2010, 16:33
Re: PlayerPlaySound for everybody? - by ғαιιοцт - 27.01.2010, 16:33
Re: PlayerPlaySound for everybody? - by Mauzen - 27.01.2010, 16:34
Re: PlayerPlaySound for everybody? - by Torran - 27.01.2010, 16:35
Re: PlayerPlaySound for everybody? - by ғαιιοцт - 27.01.2010, 16:39
Re: PlayerPlaySound for everybody? - by Correlli - 27.01.2010, 16:40
Re: PlayerPlaySound for everybody? - by Torran - 27.01.2010, 16:41
Re: PlayerPlaySound for everybody? - by Torran - 27.01.2010, 18:00
Re: PlayerPlaySound for everybody? - by TheChaoz - 27.01.2010, 18:05

Forum Jump:


Users browsing this thread: 1 Guest(s)