27.11.2012, 22:42
Tente:
pawn Код:
#define DIALOG_MP3 1000 //topo
//cod
CMD:mp3(playerid, params[])
{
ShowPlayerDialog(playerid, DIALOG_MP3, DIALOG_STYLE_LIST,"MP3 PLAYER", "Funk\nPagode\n", "Selecionar", "Cancelar");
return 1;
}
//OnDialogResponse
if(dialogid == musicasgsf) // Menu
{
if(response)
{
if(listitem == 0)
{
PlayAudioStreamForPlayer(playerid,"SEU LINK");
}
if(listitem == 1)
{
PlayAudioStreamForPlayer(playerid,"SEU LINK");
}
}
return 1;
}