22.02.2010, 16:38
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