SA-MP Forums Archive
Login song - 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 song (/showthread.php?tid=565937)



Login song - CrazyRussainHacker - 02.03.2015

How can i add a login song to my gamemode?


Re: Login song - CrazyRussainHacker - 02.03.2015

Help me please anyone i`m a new scripter


Re: Login song - Evocator - 02.03.2015

Use the PlayAudioStreamForPlayer function and place it under OnPlayerConnect. Then when they login or spawn stop the stream by StopAudioStreamForPlayer

https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer
https://sampwiki.blast.hk/wiki/StopAudioStreamForPlayer