Inventory System
#5

nahhh not the /stats command

like these Functions
. . .

pawn Код:
IsBagFull(bagid);
Return 1 if the bag is full and null if is not.

pawn Код:
AddBagItem(bagid,itemid);
Adds a item to the bag.
Return null if the bag is full.

pawn Код:
GetSlotItem(bagid,slot);
Get the itemid from the given slot.

pawn Код:
IsItemInBag(bagid,itemid);
Check if there is an item in the bag.

pawn Код:
RemoveItem(bagid,itemid);
Removes a item from the bag.
If there are same items it will remove only one.


okay.... the inventory includes all these things.. but its just for Windows ... but i have Linux and i have no idea to convert the .dll to an .so file and i am not smart enought to script this system so that it works like i want.......
Reply


Messages In This Thread
Inventory System - by mirkoiz - 12.02.2009, 20:42
Re: Inventory System - by yom - 12.02.2009, 20:45
Re: Inventory System - by mirkoiz - 12.02.2009, 20:46
Re: Inventory System - by [WS]Hyper - 12.02.2009, 21:02
Re: Inventory System - by mirkoiz - 13.02.2009, 12:21
Re: Inventory System - by mirkoiz - 13.02.2009, 23:00
Re: Inventory System - by mirkoiz - 13.02.2009, 23:26
Re: Inventory System - by Owenlishious - 29.04.2010, 15:26
Re: Inventory System - by Lajko1 - 29.04.2010, 15:37
Re: Inventory System - by Cameltoe - 28.07.2010, 14:01

Forum Jump:


Users browsing this thread: 1 Guest(s)