18.01.2014, 10:59
(
Последний раз редактировалось sonushan; 18.01.2014 в 11:39.
)
Hello Sir , I wanna stream a song to all players online but its not working. When I add URL then it says /playmusic [MP3] Link ], help please, here's the code
Код:
dcmd_playamusic(playerid, params[]) { if(PlayerInfo[playerid][pAdmin] >= 99999) { for(new i = 0; i < MAX_PLAYERS; i++) { new link[200]; if(sscanf(params,"s[200]",link)) return SendClientMessage(playerid,COLOR_RED,"Usage: /playamusic [MP3 Link]"); PlayAudioStreamForPlayer(playerid, link); SendClientMessage(playerid, COLOR_WHITE,"An Admin has started playing music for every online player"); } } return 1; }