[Release] esx-kr-bag-inventory - A bag inventory script synced with the server


#167

Ty :slight_smile:


#168

hey this look nice and also did you look at the problem i was having above ?


#169

I’ve one with animation already, don’t waste your time.


#170

Are you running my latest verison?


#171

yes i have re-instill 3 times


#172

my version is finished :smiley:
maybe we are using the same animations :smiley:


#173

NEW VERSION:

  • animations while in the bag
  • animation while seaching in the bag
  • you can store money and blackmoney in the bag (max amount can be set in the config)
  • if you take out a weapon you will equip it to your character (more like roleplay)
  • the issues with the duplications should be fixed now

if you update the script you have to alter your database with:

ALTER TABLE `owned_bag_inventory` ADD `type` VARCHAR(20) NOT NULL AFTER `count`;

esx-kr-bag-inventory.rar (7.1 KB)

feel free to give feedback and send us bugs :slight_smile:

*its not my script. just edited it a bit. original by @KRILLE


#174

If you want and know that the version is working just fine, you could make a PR.


#175

let us use the community to find bugs and then i will do a PR with the fixed version


#176

what change you made…?


#177

i´ve added this to the database to know what kind of item it is in the bag.
item = all items and weapons
cash = cash :wink:
blackmoney = blackmoney


#178

where is the download pls ? :slight_smile:


#179

ups :smiley:
i know something was missing :smiley:

*added the downloadlink ^^


#180

Hi I have a SQL problem

ERROR MySQL

[ERROR] [MySQL] An error happens on MySQL for query "INSERT INTO owned_bag_inven tory (id, label, item, count, type) VALUES (@id, @label, @item, @count, @type) { @count=3;@type=item;@label=Bread;@id=80872;@item=bread}": Unknown column 'type' i n 'field list'

Thanks in any case for sharing


#182

Accidently replied to wrong person:

Heady said you need to alter SQL for his version


#183

I have a problem here

BUG

Duplicate of the field ‘bag’ for the key ‘PRIMARY’

INSERT INTO “items” (“name”, “label”, “limit”) VALUES
(“bag”, “Bag”, 1)

I replace " by ` to see them here :slight_smile:


#184

i prefer not.
i would like only items and weapon to be place into the bag.

i suggest you put in config
money = true
blackmoney = true

In my server we use the bag to prevent from loosing stuff when we die.
This way they can still loose money and blackmoney and stuff that was not in bag.

Love the option and work you guys do…
but for rp server its better if we can choose in config.
Cheers guys.
and as Krille said with respect.
Make a pr in is github… Its Krille Release.
This way no one will be desoriented.
cheers


#185

i have this problem link
and is giving to duplicate the weapon link


#186

U are using the latest Version?


#187

I’m using the version you made available.