πŸ›’ renzu_shops | Advanced Shops | Stores - Vehicle - Weapons - Movable

Ok I see, but when i buy for example more then 1 phone (3 phones), Only the Price of one phone gets into the cashier and not all 3000$

:smile: tf

fix.

also if you want the money to go directly to vault. you can disable cashier in config.

1 Like

Looks useful. Good release Renzu!

1 Like

i updated ox inventory, but now when i goto a shop, and target it comes up in the top right corner unable to open this inventory, is this your script causing that?

that notification is from ox_inventory.

when shared.oxShops is false and you tried to open the marker or probably zone boxzones of that target.
you will see that message.

are you able to open shop using target? shared.target must be true . modify in init.lua

if you dont want that message to appear.
use my forked of ox_inventory
my forked updates the client when new shop has been invoked.
so it will update the zones too from ox_libs

oxShops is true, and with or without target i cannot open the shops, i fi set oxShops to false it opens your shop menu and i get stuck on the shop menu

oxShops works only with my forked.

i just did a workaround for this

Shop can open by f2 too (if not using target in ox)
and will open the shop if you use target zone from ox.

this logic will only work if ox_inv is started before renzu_shops

gg bro, amazing job!!

Sorry for all the messages, but another mistake, when you pay with bank no money goes to the cashier.
And where are the store data stored?

For the vehicle shops is it possible to restrict the buyers to certain jobs? So like a dealership that sells police vehicles only to people with police jobs and adds it to the owned vehicles as a job vehicle?

thank you, its not a problem to report issues. you can use github .im most active replying there.

i added the support of receiving income to b ank accounts

soon ill support a method to Addmoney to business account via exports

its already supported to use a job shops

just put groups = β€˜police’

ex.

[2] = {
                groups = 'police',
		moneytype = 'money',
		type = 'vehicle',
		label = 'Premium Deluxe Motorsports Patoche',
		coord = vec3(-1248.3510742188,-350.24868774414,37.33287),
		purchase = vec4(-1231.9196777344,-349.27304077148,36.66028213501,30.436424255371),
		spawn = vec4(-1256.2485351563,-366.36083984375,36.495769500732,355.48330688477),
		restock = vec4(-1241.8355712891,-328.19290161133,37.422836303711,297.9235534668),
		cashier = vec3(-1252.7078857422,-348.5173034668,36.90762),
		blip = {
			id = 402, colour = 69, scale = 0.8
		},
		price = 3000000,
		supplieritem = MultiCategory(
			{['boats'] = true, ['planes'] = true}, -- blacklisted types
			{
				--['boats'] = true
			}, -- whitelisted types, if you want to whitelist only, doing whitelist will disable category table below
			Vehicles.Annis,
			Vehicles.Shitzu
		),
		camerasetting = {offset = vec3(0.0,1.0,0.0), fov = -10}
	},

this will allowed only the police to access the shop

as for the job vehicle what identifier to determine it as a job vehicle?
job column?

and to all who recently download
get the latest version

this fixes some issue like not receiving money if bank is been used.
added support of weapon licensed
fix target issues

yes essentially so like same as esx_policejob or esx_ambulancejob where it puts the job name in the job column of the owned vehicle so they can only use it if they have the job

Its not hard to implement that but it will throw error if some people dont use job column.

And im not sure if qbcore uses that column too

More condition checks. :thinking:

I will look a way to implement it without that much hassle.

1 Like

This looks amazing. Is there an option for players to finance the vehicles?

This for QB and with qs-inventory support and i was completly broke :smiley:

Nice Work!

1 Like

i love you

1 Like

Is there a way we could set up multiple vehicle dealers with different cars for each ? Also is there a vehicle keys system planned for future ? That would awsome !

Its already supported

Check vehicle shop index 2 in config

Thats how to do category type

In ex.
Its shows Annis category only and shitzu

And keys are already supported

Look init.lua

1 Like