[Ajuda] TextDraw Clicked
#2

O inputtext й chamado na dialog, ou seja se vc usou:

PHP код:
ShowPlayerDialog(playerid2DIALOG_STYLE_PASSWORD"Registrando...",gstring"Registrar""Sair"
deve ir:

PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    if(
dialogid == 2// 2 й o id da dialog que vc definiu logo acima
    
{
        
format(gstring,sizeof(gstring),"/registrar %s",inputtext);// <<<<<< AJUDA AQ!
        
OnPlayerCommandText(playerid,gstring);
    }
    return 
1;

Aconselho a vocк dar uma estudada sobre dialog nesse tutorial.
Reply


Messages In This Thread
TextDraw Clicked - by LosLipe - 20.08.2015, 19:56
Re: TextDraw Clicked - by Cleyson - 20.08.2015, 21:44

Forum Jump:


Users browsing this thread: 1 Guest(s)