[HELP] PlayerPlaySound
#2

pawn Код:
PlaySoundForAll(soundid, Float:x, Float:y, Float:z)
{
    for (new i=0; i<MAX_PLAYERS; i++)
    {
      if (IsPlayerConnected(i))
      {
          PlayerPlaySound(i, soundid, x, y, z);
      }
    }
}
pawn Код:
PlaySoundForAll(1185, 0.0, 0.0, 0.0);//soundID, x, y, z
Reply


Messages In This Thread
[HELP] PlayerPlaySound - by FreddeN - 22.02.2010, 16:31
Re: [HELP] PlayerPlaySound - by Fedee! - 22.02.2010, 16:38

Forum Jump:


Users browsing this thread: 2 Guest(s)