SA-MP Forums Archive
Playing sound when i select players - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Playing sound when i select players (/showthread.php?tid=76731)



Playing sound when i select players - veskosid - 05.05.2009

Hi! how i can make when i select player before spawn to play some sound and when i spawn to stop this sound?


Re: Playing sound when i select players - Weirdosport - 05.05.2009

Under OnPlayerRequestClass

Use PlayerPlayerSound

Click it to find out more.


Re: Playing sound when i select players - veskosid - 05.05.2009

I study this well when every player want's to stop the sound just put PlayerPlaySound(playerid, 1186, 0.0, 0.0, 0.0); This there where you want to stop the sound