12.08.2014, 11:49
Hi,
I present an inventory system for MyRP do with Vuldo (he made the weight / volume function / add / remove an object in the inventory).
This system works with the weight and volume of the object, it has 40 50 possable objects on the body and to purchase.
the list is the top of the FS, the following includes it uses.
Function:
No save made, you do it's pretty simple
link
I present an inventory system for MyRP do with Vuldo (he made the weight / volume function / add / remove an object in the inventory).
This system works with the weight and volume of the object, it has 40 50 possable objects on the body and to purchase.
the list is the top of the FS, the following includes it uses.
PHP Code:
# include <a_samp>
# include <easydialog>
# include <ShowInfoForPlayer>
# include <zcmd>
# include <mSelection>
PHP Code:
HasItemOnPlayer(player,item,amount)
RemoveItemOnPlayer(player,item,amount)
GiveItemOnPlayer(player,item,amount)
GetItemWeightOnPlayer(playerid)
GetItemVolumeOnPlayer(playerid)
CanHaveItemOnPlayer(playerid,item,amount)
GetItemName(item)
GetItemVolume(item)
OnPlayerUseObject(playerid,item)
GetItemWeight(item)
OnPlayerPutObject(playerid,model,emplacement,ID)
ReloadAcces(playerid)
SuppObject(playerid,id)
No save made, you do it's pretty simple
link