How to add your own music to your own server?
#7

Oh okay. Sorry. Is it like this?:

pawn Код:
public OnPlayerConnect(playerid) {

PlayAudioStreamForPlayer(playerid, "URL.mp3");

}

public OnPlayerSpawn(playerid) {

    StopAudioStreamForPlayer(playerid);

}
You can just change OnPlayerSpawn to whenever you want to stop playing the music.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)