Text Format [ REP ++ ]
#5

Create input dialog. When he click enter and strlen is equal to 0 you just send him message. Like this:

pawn Код:
#define DIALOG_BLA  1
ShowPlayerDialog(playerid,DIALOG_BLA, DIALOG_STYLE_INPUT, "Login", "Bla bla", "Login", "Cancel");

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIALOG_BLA)
    {
        if(strlen(inputtext) == 0) return SCM...
        //If strlen is more then 0 your code
        return 1;
    }
    return 0;
}
Reply


Messages In This Thread
Text Format [ REP ++ ] - by teomakedonija - 16.03.2013, 18:37
Re: Text Format [ REP ++ ] - by Mystique - 16.03.2013, 18:43
Re: Text Format [ REP ++ ] - by teomakedonija - 16.03.2013, 18:44
Re: Text Format [ REP ++ ] - by Mystique - 16.03.2013, 18:55
Re: Text Format [ REP ++ ] - by B-Matt - 16.03.2013, 18:57
Re: Text Format [ REP ++ ] - by teomakedonija - 16.03.2013, 22:05

Forum Jump:


Users browsing this thread: 1 Guest(s)