errors
#1

How to fix those erros?

pawn Код:
F:\Users\Daniel\Desktop\GCRP\gamemodes\GCRP.pwn(69617) : error 017: undefined symbol "YSI_gSwheelmodels"
F:\Users\Daniel\Desktop\GCRP\gamemodes\GCRP.pwn(69617) : error 017: undefined symbol "YSI_gAwheelmodels"
F:\Users\Daniel\Desktop\GCRP\gamemodes\GCRP.pwn(69617) : warning 215: expression has no effect
F:\Users\Daniel\Desktop\GCRP\gamemodes\GCRP.pwn(69617) : error 001: expected token: ";", but found "]"
F:\Users\Daniel\Desktop\GCRP\gamemodes\GCRP.pwn(69617) : 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) {  // THIS IS THE LINE

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

    }

    return false;
}
Reply
#2

You don't have the following defined,

Код:
"YSI_gSwheelmodels"
"YSI_gAwheelmodels"
Reply
#3

now this
pawn Код:
F:\Users\Daniel\Desktop\GCRP\gamemodes\GCRP.pwn(69619) : error 076: syntax error in the expression, or invalid function call
F:\Users\Daniel\Desktop\GCRP\gamemodes\GCRP.pwn(69619) : error 028: invalid subscript (not an array or too many subscripts): "YSI_gAwheelmodels"
F:\Users\Daniel\Desktop\GCRP\gamemodes\GCRP.pwn(69619) : warning 215: expression has no effect
F:\Users\Daniel\Desktop\GCRP\gamemodes\GCRP.pwn(69619) : error 001: expected token: ";", but found "]"
F:\Users\Daniel\Desktop\GCRP\gamemodes\GCRP.pwn(69619) : fatal error 107: too many error messages on one line
please help me Akira PLEASE
Reply
#4

BUMP !
PLASE HELPPPPPPP
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)