13.02.2009, 20:34
Quote:
Originally Posted by Daren_Jacobson
again, done in reply box.
pawn Код:
|
You can:
1. Make a function 'PlaySoundForAll' by adding this at the top of your script:
pawn Код:
#define PlaySoundForAll(%1) for(new i; i < MAX_PLAYERS; i++) PlayerPlaySound(i, %1, 0.0, 0.0, 0.0)
/*%1 is the sound ID... */
pawn Код:
for(new i; i < MAX_PLAYERS; i++) PlayerPlaySound(i, soundid, 0.0, 0.0, 0.0); /* Replace 'soundid' with the ID you want */