SA-MP Forums Archive
Dialog Problem[URGENT] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Dialog Problem[URGENT] (/showthread.php?tid=183887)



Dialog Problem[URGENT] - Dj_maryo1993 - 17.10.2010

The code :
pawn Код:
if(dialogid == 7)// Manage - FeeChange
    {
        if(response == 1)
        {
            if(strlen(inputtext))
            {
                new idx;
                new tmp[16];
                tmp = strval(inputtext);
                if(IsNumeric(tmp))
                {
                    BizzInfo[PlayerInfo[playerid][BizzOwned]][Fee] = strval(tmp);
                    return 1;
                }
            }
            else
            {
                ShowPlayerDialog(playerid,7,DIALOG_STYLE_INPUT,"E R R O R","Inse New FEE","Ok","Cancel");
                return 1;
            }
        }
    }
The error :
Код:
..\gamemodes\GM.pwn(1569) : error 033: array must be indexed (variable "tmp")
What do i do wrong ? please help me .


Re: Dialog Problem[URGENT] - Dj_maryo1993 - 17.10.2010

Solved .