Bag system help
#2

Just to clear things up:
I have a data saving system, using DjSon.
I have en enum which contains BagSlot1, BagSlot2 and so on.
Lets say that i want to add an item to bag slot 1, i use the variable "PlayerInfo[playerid][pBagSlot1]"

My question: What is the easiest way to add an item? Is it by making item IDs, like if a cheque is ID 3, and then do "PlayerInfo[playerid][pBagSlot1] = 3"
Or is there an easier way?

Thank you.
Reply


Messages In This Thread
Bag system help - by sim_sima - 18.10.2011, 18:27
Re: Bag system help - by sim_sima - 19.10.2011, 11:10
Re: Bag system help - by sim_sima - 23.10.2011, 10:57
Re: Bag system help - by Zonoya - 23.10.2011, 11:12
Re: Bag system help - by sim_sima - 23.10.2011, 11:27
Re: Bag system help - by MrVicky - 09.04.2013, 18:09
Re: Bag system help - by sim_sima - 09.04.2013, 18:35
Re: Bag system help - by Universal - 09.04.2013, 20:12
Re: Bag system help - by MrVicky - 09.04.2013, 20:53
Re: Bag system help - by MrVicky - 11.04.2013, 15:23

Forum Jump:


Users browsing this thread: 1 Guest(s)