24.10.2014, 15:35
Hey, guys. I've got a question about inventory system. I have got Textdraw inventory and there are 2 tabs. First - Player inventory, second - CAR Inventory. I want to ask about data, how to save the data, i have to use to enums or i can do it in another way.
P.S. Sorry for my bad English
What I have now:
P.S. Sorry for my bad English
What I have now:
PHP код:
enum invPL
{
invSlot[10], // 10 - number of slots.
invValue[10],
};
new InventoryPlayer[MAX_PLAYERS][invPL];
enum invVEH
{
vehSlot[10],
vehVal[10],
};
new InventoryVehicle[MAX_VEHICLES][invVEH];