invalid subscript (not an array or too many subscripts): "asicerik"
#1

Hi .. I have these errors and I dont really understand why .

rp.pwn(9560) : error 028: invalid subscript (not an array or too many subscripts): "asicerik"
rp.pwn(9560) : warning 215: expression has no effect
rp.pwn(9560) : error 001: expected token: ";", but found "]"
rp.pwn(9560) : error 029: invalid expression, assumed zero
rp.pwn(9560) : fatal error 107: too many error messages on one line

pawn Код:
case GRAFITI_DIALOG1:
        {
            switch(listitem)
            {
                case 0:
                {
                    if(response)
                    {
                        Graffiti[playerid][active_character[playerid]][asicerik] == inputtext; // line 9560
                        ShowPlayerDialog(playerid, GRAFITI_DIALOG2, DIALOG_STYLE_LIST, "Graffiti", "Culoare\nDimensiune\nTip(arial vs.)\nOlus,tip", "Okay", "Cancel");
                    }
                }
            }
        }
Graffiti enum :

pawn Код:
enum grafInfo
{
Grafid,
Owner,
Float:aX,
Float:aY,
Float:aZ,
Float:bX,
Float:bY,
Float:bZ,
gType,
Size1,
Color,
asicerik,
};

new Graffiti[MAX_GRAFFITI][grafInfo];
Anyone has any idea?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)