[FREE] WALLET SCRIPT / FiveM script [V.1.1 UPDATE!]

Untitled-2

Hello,

i made this script for fun. This is not my code! It’s an edited wasabi_backpack for a wallet.
I hope you enjoy this script with no problems and good functionality. If you have a problems, you can contact me here.

DOWNLOAD

DOWNLOAD HERE

UPDATE

1. Update V1.1

  • Optimized script
  • Added new options to edit slots or weight
  • Added new options to whitelist or blacklist items (Like money, documents, id cards etc…)

Dependencies

ox_inventory

Installation

  1. First step:
    Go into ox_inventory/web/images and put wallet.png into folder. You can find image in inventory-image folder.

  2. Second step:
    Go into ox_inventory/data/items.lua and add this:

	['wallet'] = {
		label = 'Wallet',
		weight = 120,
		stack = false,
		consume = 0,
		client = {
			export = 'grn_wallet.openWallet'
		}
	},
  1. Third step:
    Go into ox_inventory/modules/items/containers.lua and add this.
    You can configurate how many slots you want, how much weight, whitelisted items (Like money, your license, documents etc…)
	setContainerProperties('wallet', {
		slots = 5,
		maxWeight = 100,
		whitelist = { 'money', 'driver_license', 'weaponlicense', 'lawyerpass', 'membership', 'id_card' } 
	})
  1. Fourth step:
    Put all files into resources folder

  2. Fifth step:
    Go into server.cfg and add this line:

ensure grn_wallet

  1. Sixth step:
    Restart your server and enjoy, you have functional wallet script!

Subtitles

Wasabi scripts

image

7 Likes

does ox recognize the money in the wallet? if I do that for example as a container item.
but the container didn’t recognize the money in the container

Hello, he doesnt recognize. It’s based on the principle of weight. Anything that doesn’t have weight, you can put in. It’s primarily for money and ID cards.

can you do script for id cards

Hello, I can’t do scripting that well, but I recommend this script
[FREE] um-idcard | mugshot | card maker - FiveM Resource Development & Modding / Releases - Cfx.re Community

not bad keep you good work

1 Like

Thanks!

Nice work, but everything you did is already possible with ox inventory containers where you can blacklist/whitelist items and set weight limit.
Containers

1 Like

Thanks! I try do it better

Today i will update that. I will add discord logs and edit that code.

The script only makes sense if the inventory can take the money directly from the wallet so that you don’t have to keep moving it back and forth

2 Likes

True thats a good point

hello
I don’t understand this script why it uses it, if ox_inventory itself has it

setContainerProperties(‘wallt’, {
slots = 7,
maxWeight = 100,
whitelist = { ‘id_card’,‘document’,‘money’,‘membership’ }
})

1 Like

Hello, i will update that soon

Today was released a new update! Check it out!


Where is PutOnBag() and RemoveBag()

I have this error:

1 Like

tkt j’ai le meme soucis je comprend pas trop

did you get a fix same issue…