music at selecting class - 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 at selecting class (
/showthread.php?tid=111490)
music at selecting class -
jamesbond007 - 02.12.2009
i cant stop the music:
public OnPlayerRequestClass(playerid)
{
PlayerPlaySound(playerid, 1185, 0.0, 0.0, 0.0); // my selected music (1185)
return 1;
}
public OnPlayerSpawn(playerid)
{
PlayerPlaySound(playerid, 1190, 0.0, 0.0, 0.0); // slap sound to stop the music (1190)
return 1;
}
but it still doesnt work! the music still keeps playing after i spawn! the slap sound played but the selecting class music didnt stop
Re: music at selecting class -
dice7 - 02.12.2009
use id 1186 instead of 1190
Re: music at selecting class -
jamesbond007 - 02.12.2009
Quote:
Originally Posted by dice7
use id 1186 instead of 1190
|
thanks man it worked