Dialog Problem[URGENT]
#1

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 .
Reply
#2

Solved .
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)