Music
#2

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

Have it run on your onplayerconnect callback
Код:
public OnPlayerConnect(playerid)
{
    PlayAudioStreamForPlayer(playerid, "audiourl", 0, 0, 0, 50, 0);
    return 1;
}
Then use
https://sampwiki.blast.hk/wiki/StopAudioStreamForPlayer

for when the player spawns.

Код:
public OnPlayerSpawn(playerid)
{
    StopAudioStreamForPlayer(playerid);
    return 1;
}
Reply


Messages In This Thread
Music - by hamrlg - 23.07.2018, 13:01
Re: Music - by Chyakka - 23.07.2018, 13:09

Forum Jump:


Users browsing this thread: 1 Guest(s)