Quote:
Originally Posted by biker122
Maybe try this?
pawn Код:
new ItemName[MAX_ITEMS][] = { {"Wood"}, {"Stone"}, {"Steel"}, {"Gun powder"}, {"Plastic"}, {"Flint"}, {"Rubber"}, {"Tin"}, {"Cloth"}, {"Skin"}, {"Meat"}, {"Fish"}, {"Aspirin"}, {"Antibiotic"}, {"Flask"}, {"Alcohol"} };
|
As this guy showed you the perfect code, but still there's something wrong with it
you have defined 18 values in MAX_Items, and this code is useing 16..
you will face error