17.10.2010, 07:52
The code :
The error :
What do i do wrong ? please help me .
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;
}
}
}
Код:
..\gamemodes\GM.pwn(1569) : error 033: array must be indexed (variable "tmp")