invalid subscript
#1

Can somebody help me with this?

pawn Код:
F:\Users\Daniel\Desktop\GCRP\gamemodes\GCRP.pwn(69620) : error 028: invalid subscript (not an array or too many subscripts): "YSI_gAwheelmodels"
F:\Users\Daniel\Desktop\GCRP\gamemodes\GCRP.pwn(69620) : warning 215: expression has no effect
F:\Users\Daniel\Desktop\GCRP\gamemodes\GCRP.pwn(69620) : error 001: expected token: ";", but found "]"
F:\Users\Daniel\Desktop\GCRP\gamemodes\GCRP.pwn(69620) : error 029: invalid expression, assumed zero
F:\Users\Daniel\Desktop\GCRP\gamemodes\GCRP.pwn(69620) : fatal error 107: too many error messages on one line
Line

pawn Код:
iswheelmodel(modelid) {

    new wheelmodels[17] = {1025,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1096,1097,1098};
   
    foreach(wheelmodels, I) { // THE LINE

        if (modelid == wheelmodels[I])
            return true;

    }

    return false;
}
Reply


Messages In This Thread
invalid subscript - by Vizi - 24.08.2012, 07:37
Re: invalid subscript - by [MWR]Blood - 24.08.2012, 07:38
Re: invalid subscript - by Vizi - 24.08.2012, 07:42
Re: invalid subscript - by Misiur - 24.08.2012, 07:47
Re: invalid subscript - by Vizi - 24.08.2012, 07:51
Re: invalid subscript - by Misiur - 24.08.2012, 07:53
Re: invalid subscript - by Vizi - 24.08.2012, 07:59
Re: invalid subscript - by Misiur - 24.08.2012, 08:02
Re: invalid subscript - by Vizi - 24.08.2012, 08:09
Re: invalid subscript - by Misiur - 24.08.2012, 08:11

Forum Jump:


Users browsing this thread: 1 Guest(s)