invalid subscript
#4

pawn Код:
stock iswheelmodel(modelid) {
    new wheelmodels[17] = {1025,1073,1074,1075,1076,1077,1078,1079,1080,1081,1082,1083,1084,1085,1096,1097,1098};
   
    for(new i = 0; i < sizeof(wheelmodels); ++i) {
        if (modelid == wheelmodels[i]) return true;
    }
    return false;
}
If your code looks like this, there shouldn't be any errors
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: 3 Guest(s)