18.10.2017, 21:20
Hi all,
I get this error:
In this piece of code:
Enum:
I included both the y_iterate include and foreach include, I can't seem to find the problem here. I hope someone else can.
I get this error:
pawn Код:
error 017: undefined symbol "Items@YSII_Ag"
pawn Код:
CMD:test(playerid, params[])
{
new str[50], i;
foreach(i : Items)
{
format(str, sizeof(str), "Slot %d - %s %s", i+1, ReturnItemName(i), ReturnItemCondition(i));
print(str);
}
return 1;
}
pawn Код:
enum itemInfo{
iID,
iType,
iCondition
};
new ItemInfo[MAX_ITEMS][itemInfo];


