Error dialog
#2

use this :-
pawn Код:
#define AddMusica 45

//OnPlayerCommandText
if(strcmp(cmdtext,"/addm",true) == 0)
    {
    ShowPlayerDialog(playerid, 45, DIALOG_STYLE_INPUT, "Adicionar Musica","Para ouvires a musica tens d ecolocar o link em .mp3","Adicionar!","Cancelar!");
    return true;
    }

//OnDialogResponse
/*Line 94 */if(dialogid == 45){
       
        if(response){
        OnPlayerCommandText(playerid,"/radio");
        }
        else{
        new linkmusica;
        PlayAudioStreamForPlayer(playerid, "%s", linkmusica);
        }
    }
    return true;
       
    }
Reply


Messages In This Thread
Error dialog - by VeNuZ_ - 05.05.2013, 09:15
Re: Error dialog - by SimpalK - 05.05.2013, 10:55

Forum Jump:


Users browsing this thread: 1 Guest(s)