16.02.2019, 11:04
Code:
error 001: expected token: "-identifier-", but found "-integer value-" error 017: undefined symbol "Iter_Contains" error 017: undefined symbol "YSI_gMatsItrC" error 017: undefined symbol "YSI_gMatsItrS" error 017: undefined symbol "YSI_gMatsItrA" error 029: invalid expression, assumed zero fatal error 107: too many error messages on one line
Code:
new Iterator:MatsItr<MAX_MATERIALS>; Line ( 83 ) if(Iter_Contains(MatsItr,i)) Line ( 142 ) if(Iter_Count(MatsItr) > MAX_MATERIALS) return SendClientMessage(playerid, -1 , ""MYRED"[MATERIAL]"MYWHITE" You've reached the total amount of Materials, Max Materials: "#MAX_MATERIALS"); Line 155 new id = Iter_Free(MatsItr); Line 156