Audio Stream?
#1

Can someone make me a script so i can play this song when someone connects?, Please do NOT link me to samp-wiki or anything related to it, I just want someone to create OnPlayerConnect audio stream playing, and the song will keep playing even if the player spawned till it ends, Here's the song:

And it would be awesome if you'd tell me where to put it, Thanks.
Reply
#2

pawn Код:
public OnPlayerConnect(playerid)
{
    PlayAudioStreamForPlayer(playerid,"https://dl.dropbox.com/u/79419209/D-Devils%20-%20Sex%20Drugs%20and%20House.mp3");
    return 1;
}

public OnPlayerSpawn(playerid)
{
    StopAudioStreamForPlayer(playerid);
    return 1;
}
Just .. simple.
Reply
#3

Quote:
Originally Posted by Michael@Belgium
Посмотреть сообщение
pawn Код:
public OnPlayerConnect(playerid)
{
    PlayAudioStreamForPlayer(playerid,"https://dl.dropbox.com/u/79419209/D-Devils%20-%20Sex%20Drugs%20and%20House.mp3");
    return 1;
}

public OnPlayerSpawn(playerid)
{
    StopAudioStreamForPlayer(playerid);
    return 1;
}
Just .. simple.
Thanks alot, Easy for you to say mate, I'm a bit of a noob so don't judge me yet
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)