24.08.2012, 07:37
Can somebody help me with this?
Line
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
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;
}