30.01.2016, 10:50
Код:
public OnPlayerConnect(playerid) { PlayAudioStreamForPlayer(playerid,"URL.mp3 "); // plays the music when player connects return 1; // returns true. }
Код:
CMD:stopstream(playerid, params[]) { StopAudioStreamForPlayer(playerid); //Stops the music , just in case. return 1; // returns true. }