SA-MP Forums Archive
Music? - 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: Music? (/showthread.php?tid=126499)



Music? - Samy Romafia - 08.02.2010

How do I add the music when there is the choice of character?
Sorry for my bad eng


Re: Music? - IcyBlight - 08.02.2010

Add this under OnPlayerRequestClass:

Код:
PlayerPlaySound(playerid, 1097,0,0,0);
and this under OnPlayerSpawn:

Код:
PlayerPlaySound(playerid,1098,0,0,0);
First code plays music, 2nd code stops it.


Re: Music? - akis_tze - 08.02.2010

you can find here all the songs
https://sampwiki.blast.hk/wiki/Sounds