[HELP] Dialog Input Problem
#1

Hi guys, i'm doing a script where the player must answer True or False for each question but there's a problem. Sometimes the question doesn't shown. To make a question, i've done a dialog and i've resolved a similar bug that doesn't shown a question of 37 characters or more but now there is this problem and i don't know how to fix it.

pawn Код:
if(dialogid == DIALOG_QUEST)
    {
        if(!response)
        {
           SendClientMessage(playerid, COLOR_RED, "*** Hai annullato la domanda!");
        }
        else
        {
        if(strlen(inputtext) > 36) return SendClientMessage(playerid, COLOR_RED,"*** Domanda troppo lunga!");
        GetPlayerName(playerid, str500, sizeof(str500));
        format(str500, sizeof(str500), "{ffc000}[GaraOX][Domanda] {ffff00}By » {ff0000}%s: {0080FF}» {FFFF00}%s - O se и vera X se и falsa", str500, inputtext[0]);
        ShowPlayerDialog(playerid, DIALOG_OX, DIALOG_STYLE_MSGBOX, "{FF0000}Risposta OX", "{4F4F4F}Scegli la risposta CORRETTA!", "O", "X");
        }
        return 1;
    }
Reply


Messages In This Thread
[HELP] Dialog Input Problem - by ReshiramZekrom - 28.06.2013, 19:33
Re: [HELP] Dialog Input Problem - by Chrisli520 - 28.06.2013, 22:40
Re: [HELP] Dialog Input Problem - by ScRipTeRi - 28.06.2013, 23:37
Re: [HELP] Dialog Input Problem - by ReshiramZekrom - 29.06.2013, 13:04

Forum Jump:


Users browsing this thread: 1 Guest(s)