HELP ME PLEASE
#1

Hello I need help I want to add music to my login and registration but how? I don't know how to script it. But if someone that knew how to and they send me there .pwn file then that will be great.

THANX FOR LISTENING AND FOR THE PERSON THAT WILL GET +REP

ASWELL PLEASE GIVE ME A LINK WHERE I CAN USE OR CONVERT FOR THE MUSIC.
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=345747
Reply
#3

You have to use PlayAudioStreamForPlayer function for that. Also here is a tutorial for that: https://sampforum.blast.hk/showthread.php?tid=332729
Reply
#4

yea but I don't really know how
Reply
#5

ill rep you anyways
Reply
#6

It's easy. Just under your registration system, put:
pawn Код:
PlayAudioStreamForPlayer(playerid, "http://blablabla.com/your-song.mp3");
and after the registration is over, use StopAudioStreamForPlayer.
Reply
#7

I don't know where it is or under player connect?
Reply
#8

Maybe under OnPlayerConnect you start the song and stop it when the player spawns.
Reply
#9

Quote:
Originally Posted by Chris009
Посмотреть сообщение
I don't know where it is or under player connect?
Press Control+F and type onplayerconnect then under the brace type PlayAudioStreamForPlayer(playerid, "Link");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)