SA-MP Forums Archive
Login music change - 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)
+--- Thread: Login music change (/showthread.php?tid=322362)



Login music change - viddo - 01.03.2012

I saw on another server when the player enters the server and he gets the Login/Register button there was a Gta iv song playing on the start then when he logged in it stopped, how ? xD


Re: Login music change - Twisted_Insane - 01.03.2012

I never heard of a "GTA IV" song, maybe others:

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

The case which you're talking about is using a radio-tool + Incognito's radio plugin! Simply search for it!


Re: Login music change - viddo - 01.03.2012

Hmmm, okay thanks.


Re: Login music change - Twisted_Insane - 01.03.2012

I hope that I can help you somehow with this:

https://sampforum.blast.hk/showthread.php?tid=82162




Re: Login music change - Vince - 01.03.2012

Dude, have you been living under a rock or what? https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer


Re: Login music change - Twisted_Insane - 01.03.2012

@Vince
Lol, I completely forgot about this!

@viddo
Yeah, add under "OnPlayerRequestClass" the function "PlayAudioStreamForPlayer"!
Then, stop it under "OnPlayerSpawn" with the function "StopAudioStreamForPlayer"!