02.12.2016, 13:11
I&I
Inventory and Item
-I&I is a system combine Inventory with Item like MMORPG or Survival(Dayz)
-Inventory system maximum is 5 Page (1 Page = 10 slot item) and combine with weight system.
-Hotkey button for 3 Type item(Food, Medicine, Tool)
-Textdraw Easily to used and Player can change color for Gui and Cursor.
-Item can Define when server start.
+I Defined 3 Item for 3 Type to Test in Filterscript.
-And much more 20+ Function...
-This system i created for my Gamemode survival but when i finished , i no have freetime to continue so i realease it now.
COMMAND TEST:
/add , /remove, (command /invcolor to change inventory color)
Y to show Inventory and show gearlooting if you near any item and crouch before
2- Images
First Look
Item when Drop
Gear Looting
Like this Color?
Or?
3- Function and Callbacks
pawn Code:
Function: Inventory
|-AddInventoryItem
|-RemoveInventoryItem
|-ResetInventoryItem
|-PlayerInventoryArrange
|-GetInventoryFreeSlots
|-IsPlayerInventoryOpen
|-IsPlayerGearLootingOpen
|-IsPlayerNearLooting
|-Show/HidePlayerGearLooting
|-Show/HidePlayerInventory
|-SetInventoryTextInfo
Function: Item
|-CreateItem
|-DestroyItem
|-IsItemValid
|-GetItemObjectID
|-DeleteAllDefinedItems
|-DefineItemType
|-DefineItemDescription
|-GetItemTypeDescription
|-GetItemTypeModel
|-GetItemWeight
|-GetItemType
|-GetItemTypePreviewRot
|-GetItemTypeName
|-GetItemTypeRot
|-GetItemTypeColor
Callbacks:
|=OnPlayerUseItem
|=OnPlayerDropItem
Github
5- MISC
-Sory for my bad english.
*I No have more time to put Credits sorry for that but thank all.