[FilterScript] system inventory and accessory - 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] system inventory and accessory (
/showthread.php?tid=531359)
system inventory and accessory -
DarkZeroX - 12.08.2014
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.
PHP Code:
# include <a_samp>
# include <easydialog>
# include <ShowInfoForPlayer>
# include <zcmd>
# include <mSelection>
Function:
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
Re: system inventory and accessory -
Don_Cage - 12.08.2014
Some pictures if is possible?
Re : system inventory and accessory -
DarkZeroX - 12.08.2014
Unfortunately I'm going on holiday so no GTA just portable, so impossible, but it is rather simple dialogue / mSelection.
Re: Re : system inventory and accessory -
Don_Cage - 12.08.2014
Quote:
Originally Posted by DarkZeroX
Unfortunately I'm going on holiday so no GTA just portable, so impossible, but it is rather simple dialogue / mSelection.
|
Okay i'll check it out on my own and post feedback.
Re: system inventory and accessory -
Toolkit - 12.08.2014
Pictures please ..
Re : system inventory and accessory -
Younes44 - 12.08.2014
Quote:
Originally Posted by Toolkit
Pictures please ..
|
Hmm Check His Reply First
Quote:
Originally Posted by DarkZeroX
Unfortunately I'm going on holiday so no GTA just portable, so impossible, but it is rather simple dialogue / mSelection.
|
Anyway i'll Test it..
Good Work anyway

Keep it up