PlaySound - 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: PlaySound (
/showthread.php?tid=149770)
PlaySound -
billiout - 23.05.2010
I put this on OnPlayerRequestClass
Код:
PlayerPlaySound(playerid, 1185, 258.4893,-41.4008,1002.0234);
to play a sound on class selection. when i spawn the music didnt stop. every other sound id work ok.
help!!
Re: PlaySound -
Sergei - 23.05.2010
You need to stop it with 1186.
Re: PlaySound -
billiout - 23.05.2010
how to do this?
Re: PlaySound -
Hiddos - 23.05.2010
pawn Код:
public OnPlayerSpawn(playerid)
{
PlayerPlaySound(playerid,1186,0,0,0);
return 1;
}
That'd do the trick.
Re: PlaySound -
billiout - 23.05.2010
Quote:
Originally Posted by Hiddos
pawn Код:
public OnPlayerSpawn(playerid) { PlayerPlaySound(playerid,1186,0,0,0); return 1; }
That'd do the trick.
|
thanks both of you.