Sawos Posted May 13, 2020 Share Posted May 13, 2020 (edited) Hello there,today i bring an inventory script,as the name suggests it's an inventory to store all your items from weapons to food/repairkit ,to use an item it is easy as just pressing use within selecting the amount .It is very easy and stable and was built using SQL,hopefully it is up to standards. Spoiler Spoiler You still have the option to use commands : ./use weaponname amount ./use itemname ./store weaponname amount ./drop weaponname amount (need to be stored) Current Items: Food: Boosts the player's health by 10 if he's low. Repairkit: Gives the vehicle 100 health (only if it's too damaged) Exported functions which you can use them in other scripts : (server side) getPlayerItem(player,itemname) updatePlayerItems(player,itemname,value) TakePlayeritem(player,itemname,value) Download link : https://community.multitheftauto.com/index.php?p=resources&s=details&id=18155 Edited May 14, 2020 by Sawos 1 1 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now