SA-MP Forums Archive
[FilterScript] [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [I&I] Inventory & Item (RP/RPG/Survival:20+Func) (/showthread.php?tid=623597)

Pages: 1 2


[I&I] Inventory & Item (RP/RPG/Survival:20+Func) - Marines - 02.12.2016

I&I
Inventory and Item

1- Description

-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
4- Download
Github
5- MISC

-Sory for my bad english.

*I No have more time to put Credits sorry for that but thank all.


Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - SyS - 02.12.2016

Excellent! Both in presentation and scripting.


Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - Bolex_ - 02.12.2016

Well done! Keep up


Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - Dayrion - 02.12.2016

Woa. Good job. +rep


Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - Eoussama - 02.12.2016

WOW, nice
+rep


Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - Logic_ - 02.12.2016

Fucking awesome... 10/ 10... + REPPPPPPPPPPP.


Awesome textdraw and system and a good idea to add weights in inventory.


Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - PrO.GameR - 02.12.2016

This looks super cool, lots of awesome releases lately.


Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - Jelly23 - 02.12.2016

Why are you using CallLocalFunction? it isn\'t even needed..


Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - Marines - 03.12.2016

Thank all.
Quote:
Originally Posted by Jelly23
View Post
Why are you using CallLocalFunction? it isn\'t even needed..
When i created it i think an include XD


Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - Jelly23 - 03.12.2016

Quote:
Originally Posted by Marines
View Post
Thank all.



When i created it i think an include XD
Even if it is an include, you wouldn\'t need it.


Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - JustMe.77 - 03.12.2016

The textdraws are completely ugly but the scripting functions / callbacks are pretty dope, well done !


Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - RyderX - 03.12.2016

Well done, Nice work.


Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - Max_Andolini - 03.12.2016

I think improve that filterscript. Add MySQL R41 Saving system etc.


Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - Marines - 03.12.2016

Quote:
Originally Posted by Max_Andolini
View Post
I think improve that filterscript. Add MySQL R41 Saving system etc.
Good idea, but sorry i no have time to do anything that is reason why i release it. GoodLuck!


Respuesta: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - Gles - 03.12.2016

Nice Job men!


Respuesta: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - byalexv - 04.07.2017

Hi! Where is e-dialog?


fatal error 100: cannot read from file: "e_dialog"


Re: Respuesta: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - Whatname - 04.07.2017

Quote:
Originally Posted by byalexv
View Post
Hi! Where is e-dialog?


fatal error 100: cannot read from file: "e_dialog"
You need to download this include.


Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - JokaC - 09.10.2017

All it\'s okay but "BUT" items is su*k


Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - FrezQ - 24.10.2017

Nice bro!


Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func) - GamezCEO - 24.10.2017

Two words: fucking awesome!

You aced it!

I\'mma use it right away (don\'t worry, I\'ll put your credits)