04.10.2010, 18:34
Quote:
Post the enum where you defined PlayerItems and I will help you get closer to the code you need. Conroy has posted a solution that should work, I understand you just need some help adapting it to your code.
|
pawn Code:
enum pItems
{
Ham,
Beans,
Bread,
Sausage,
Crisps,
Water,
Soda,
Juice,
Beer,
Vodka,
Cloth,
Bottle,
Paper,
MetalScrap,
Timber,
Wire,
PainKillers,
Bandage,
SmallMedkit,
MediumMedkit,
LargeMedkit,
IPSL,
Antidote,
AntiRad,
Fuelcan,
EmptyFuelcan,
Radio,
SRPS,
Mask,
}
new PlayerItems[MAX_PLAYERS][pItems];