20.12.2013, 07:24
Код:
// This command allows a player to start playing an audiostream COMMAND:startstream(playerid, params[]) { // Start audiostream PlayAudioStreamForPlayer(playerid, "http://listen.sky.fm/public3/the80s.pls"); // Let the server know that this was a valid command return 1; } // This command allows a player to stop playing an audiostream COMMAND:stopstream(playerid, params[]) { // Stop audiostream StopAudioStreamForPlayer(playerid); // Let the server know that this was a valid command return 1; }