13.02.2009, 12:21
nahhh not the /stats command
like these Functions
. . .
Return 1 if the bag is full and null if is not.
Adds a item to the bag.
Return null if the bag is full.
Get the itemid from the given slot.
Check if there is an item in the bag.
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.......
like these Functions
. . .
pawn Код:
IsBagFull(bagid);
pawn Код:
AddBagItem(bagid,itemid);
Return null if the bag is full.
pawn Код:
GetSlotItem(bagid,slot);
pawn Код:
IsItemInBag(bagid,itemid);
pawn Код:
RemoveItem(bagid,itemid);
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.......

