SA-MP Forums Archive
Help with Sound - 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: Help with Sound (/showthread.php?tid=277165)



Help with Sound - Compton - 16.08.2011

Hello, Im trying to attach a PlayerPlaySound in the OnPlayerRequestClass place, but I want the music to play only there, but it continues to play even after I Spawn, how to fix it?

-Thank You.


Re: Help with Sound - Backwardsman97 - 16.08.2011

Under OnPlayerSpawn, add this.

pawn Код:
PlayerPlaySound (playerid, 1063, 0.0, 0.0, 0.0);



Re: Help with Sound - Compton - 16.08.2011

You didnt understand me, I dont want the music to play after the player spawns, I want it to play only in the Skin Selection. My problem is that it plays in Skin Selection and After it.


Re : Help with Sound - Urefeu - 16.08.2011

I think it is not possible.

It's supposed to be a sound at the start, stop would therefore have no interest.

And if the function exists to stop it, it would surely PlayerStopSound, what does not exist ...


Re: Help with Sound - Backwardsman97 - 16.08.2011

Use what I gave you. It plays a sound that stops all sounds.


Re: Help with Sound - Compton - 16.08.2011

Thank you, it helped