Quote:
Originally Posted by DavidCosta
pawn Код:
dcmd_mymusic(playerid,params[]){ new localURL[256]; if(!strlen(params)) return SendClientMessage(playerid, ERRO,"Uso: /mymusic [URL]"); if(strlen(params) < 3) return SendClientMessage(playerid,ERRO,"ERROR: URL da mъsica muito curto"); PlayAudioStreamForPlayer(playerid, params); format(localURL, 128, "Ouvindo URL: {FFFF00}%s!",params); SendClientMessage(playerid,0x00FF00FF,localURL); return 1;}
|
Funcionou mais ta mostrando o link