Play a song at Skin Selection? - 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: Play a song at Skin Selection? (
/showthread.php?tid=78603)
Play a song at Skin Selection? -
Littleman774 - 21.05.2009
Hello!
I've seen on some gamemodes that it have songs from GTA SA in the skin selection.
That would be awesome to have, you know how to?
Thanks so mutch
Re: Play a song at Skin Selection? -
miokie - 21.05.2009
Search, been asked alot before.
Re: Play a song at Skin Selection? -
Correlli - 21.05.2009
Use
PlayerPlaySound(playerid, soundid, Float, Float:y, Float:z); at
OnPlayerRequestClass(playerid, classid) callback.
Re: Play a song at Skin Selection? -
Littleman774 - 21.05.2009
Quote:
Originally Posted by Don Correlli
|
I puted it in wrong place, now it works, thanks so mutch
Re: Play a song at Skin Selection? -
Correlli - 21.05.2009
You're welcome. Search a bit on forums or wiki next time.
Re: Play a song at Skin Selection? -
Littleman774 - 21.05.2009
Quote:
Originally Posted by Don Correlli
You're welcome. Search a bit on forums or wiki next time.
|
But... now when I've scripted the music, it wont stop when I choose skin...
Re: Play a song at Skin Selection? -
Correlli - 21.05.2009
I think this is the soundid to stop the sound -> 1186
Re: Play a song at Skin Selection? -
Littleman774 - 21.05.2009
Quote:
Originally Posted by Don Correlli
I think this is the soundid to stop the sound -> 1186
|
Ok, now it works 100%