SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 02/12/2016, 02:11 PM   #1
Marines
Little Clucker
 
Marines's Avatar
 
Join Date: Oct 2016
Location: Republic of Vietnam
Posts: 5
Reputation: 10
Default [I&I] Inventory & Item (RP/RPG/Survival:20+Func)

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.
Marines is offline   Reply With Quote
Old 02/12/2016, 02:17 PM   #2
SyS
High-roller
 
SyS's Avatar
 
Join Date: Oct 2015
Posts: 1,948
Reputation: 504
Default Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func)

Excellent! Both in presentation and scripting.
SyS is offline   Reply With Quote
Old 02/12/2016, 02:23 PM   #3
Bolex_
Gangsta
 
Bolex_'s Avatar
 
Join Date: Aug 2015
Location: Croatia.
Posts: 592
Reputation: 117
Default Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func)

Well done! Keep up
Bolex_ is offline   Reply With Quote
Old 02/12/2016, 03:13 PM   #4
Dayrion
High-roller
 
Dayrion's Avatar
 
Join Date: Jan 2016
Location: France
Posts: 1,920
Reputation: 258
Default Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func)

Woa. Good job. +rep
__________________
actor_plus - v5.0.2
I'm a goner, somebody catch my breath,
I'm a goner, somebody catch my breath
Dayrion is offline   Reply With Quote
Old 02/12/2016, 03:36 PM   #5
Eoussama
High-roller
 
Eoussama's Avatar
 
Join Date: Jul 2016
Location: Kingdom of Morocco // Tangier
Posts: 1,071
Reputation: 281
Default Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func)

WOW, nice
+rep
__________________

|===[Web taxi]===|
List of my work
Github
Pastebin

|===[Interesting topics]===|
Semantic Versioning
Eoussama is offline   Reply With Quote
Old 02/12/2016, 04:02 PM   #6
Logic_
Banned
 
Join Date: Jun 2015
Posts: 1,514
Reputation: 305
Default Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func)

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

Awesome textdraw and system and a good idea to add weights in inventory.
Logic_ is offline   Reply With Quote
Old 02/12/2016, 08:49 PM   #7
PrO.GameR
Gangsta
 
PrO.GameR's Avatar
 
Join Date: Oct 2012
Posts: 694
Reputation: 121
Default Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func)

This looks super cool, lots of awesome releases lately.
__________________
Blueberry Prison Roleplay will be back soon!
Follow the forums for more information about opening day.

Forums
PrO.GameR is offline   Reply With Quote
Old 02/12/2016, 09:43 PM   #8
Jelly23
Guest
 
Posts: n/a
Default Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func)

Why are you using CallLocalFunction? it isn't even needed..
  Reply With Quote
Old 03/12/2016, 04:37 AM   #9
Marines
Little Clucker
 
Marines's Avatar
 
Join Date: Oct 2016
Location: Republic of Vietnam
Posts: 5
Reputation: 10
Default Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func)

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
Marines is offline   Reply With Quote
Old 03/12/2016, 05:01 AM   #10
Jelly23
Guest
 
Posts: n/a
Default Re: [I&I] Inventory & Item (RP/RPG/Survival:20+Func)

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.
  Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[FilterScript] Basic Item&Inventory[useitem/createitem/dropitem/pickupitem] VinPure Filterscripts 11 18/06/2017 04:09 PM
[FilterScript] GEAR FOR SURVIVAL[INVENTORY|ITEM|BOX] VinPure Filterscripts 5 16/06/2017 10:30 PM
[FilterScript] V-Inventory (Save/Load/Add/Remove/Use/Item) VinPure Filterscripts 26 13/11/2014 04:10 AM
Help inventory sell item Giotis11 Help Archive 1 11/01/2010 01:33 PM


All times are GMT. The time now is 10:47 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.