PDA

View Full Version : PlayerPlaySound (For everybody?)


[p3]pr0t0typ3
31/08/2012, 08:49 AM
I was wondering,how would you use PlayerPlaySound to play a sound for all players and not just playerid?I dont think their is a callback to play it for all is their???

If somebody knows how can you help plz?

IceMeteor
31/08/2012, 08:56 AM
for(new i; i<MAX_PLAYERS; i++)
{
PlayerPlaySound(i, soundid, 0.0, 0.0, 0.0)
}
Dont forget to replace soundid!

[p3]pr0t0typ3
31/08/2012, 09:09 AM
thanks :D