SA-MP Forums Archive
I solved menu problem, but i have question - 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: I solved menu problem, but i have question (/showthread.php?tid=84737)



I solved menu problem, but i have question - En_phase - 02.07.2009

While choosing the player class, how to get music, and make them dance while being chosen?
And the music stoping after class chosen!!


Re: I solved menu problem, but i have question - 6tynine - 02.07.2009

Search for dance animations -.-


Re: I solved menu problem, but i have question - Klutty - 02.07.2009




Re: I solved menu problem, but i have question - En_phase - 02.07.2009

kk thanks
I searched and found.
But i searched how to get sound when selecting class and stopping it after class chosen, But i didnt find...
How to?


Re: I solved menu problem, but i have question - Yuryfury - 02.07.2009

https://sampwiki.blast.hk/wiki/PlayerPlaySound

and

https://sampwiki.blast.hk/wiki/SetPlayerSpecialAction

Just put it under OnPlayerRequestClass


Re: I solved menu problem, but i have question - En_phase - 02.07.2009

That dont tell how to stop sound after class chosen
Oh n sorry to be pain in the ass, but i tried different ways, but i dont know how to allow my teleport menus to teleport vehicles!!
Should i put updated pastebin of my menus?


Re: I solved menu problem, but i have question - ledzep - 03.07.2009

https://sampwiki.blast.hk/wiki/SoundID

You play the appropriate "_STOP" sound ID

i.e.

pawn Код:
// Start music
PlayerPlaySound(playerid, 1062, x, y, z); // SOUND_GOGO_TRACK_START
// Stop music
PlayerPlaySound(playerid, 1063, x, y, z); // SOUND_GOGO_TRACK_STOP



Re: I solved menu problem, but i have question - En_phase - 03.07.2009

thanks.
But what bout the menu bein able to tele vehicles too?