[DISCONTINUED] esx-kr-advanced-shops

This is really weird, but it did work. How come linux just stopped working with the font…

What a beautifull resource! It’s just… AMAZING

Is it possible for police to check the owner of the shop? In case they sell illigal stuff :smile:

Where do i change the coords for the vault to spawn? im pretty sure;

Pos   = {x = 1734.88, y = 6419.83, z = 34.04, number = 120, red = true},

this is just for the marker to press E right?

Hello everyone whos having problems with invisible safes or vaults, spent a little bit of time adjusting the coords they spawn on, here is the coords for anyone whos feeling lazy;

local coords1 = {
	[1] = {x = 380.74, y = 331.94, z = 103.57, heading = 255.47},
	[2] = {x = 2550.23, y = 387.34, z = 108.62, heading = 359.25},
	[3] = {x = -3047.88, y = 588.16, z = 7.91, heading = 20.34},
	[4] = {x = -1478.97, y = -374.36, z = 38.16, heading = 228.54},
	[5] = {x = 1395.49, y = 3612.94, z = 34.98, heading = 22.18},
	[6] = {x = -2959.5, y = 387.78, z =13.04 , heading = 171.58},
	[7] = {x = 2674.36, y = 3288.0, z = 48.24, heading = 339.44},    
	[9] = {x = 1160.77, y = -314.03, z = 69.50, heading = 10.81},  
	[10] = {x = -708.14, y = -904.05, z =19.25 , heading = 5.29}, 
	[11] = {x = -1828.23, y = 799.83, z = 138.15, heading = 53.63}, 
	[12] = {x = 1706.87, y = 4919.76, z = 42.10, heading = 237.41}, 
	[13] = {x = 1960.75, y = 3748.67, z = 32.34, heading = 304.34}, 
	[14] = {x = 1126.26, y = -980.84, z = 45.42, heading = 9.13}, 
	[15] = {x = 30.45, y = -1339.88, z = 29.5 , heading = 269.79}, 
	[16] = {x = -1383.59, y = -630.25, z = 30.82, heading = 213.19}, 
	[17] = {x = 545.07, y = 2663.47, z = 42.16, heading = 96.45},
	[18] = {x = -3249.02, y = 1006.04, z = 12.83, heading = 0.76}, 
	[19] = {x = 1168.51, y = 2718.37, z = 37.16, heading = 271.45},
	[20] = {x = 1736.66, y = 6419.02, z = 35.11, heading = 247.6},  
}

Also, im wondering if theres a way of changing the bullets impact on safes? Right now i just SetEntityHealth to 7000 which makes the safe spawn with 70% of health instead of 100%… Anyone feel free to help me if theres anything you know. thanks

3 Likes

There is an bug…

This is my shop;

And when u press more than 1 time E at first time this is happend; (example pressed 3 times);

and then… take money for 1 water and give x6

Does anyone report this?

try this in server/main.Lua inline 157 and 158

elseif sourceItem.limit ~= -1 and (sourceItem.count + ItemCount) > sourceItem.limit then
				        TriggerClientEvent('esx:showNotification', src, '~r~you do ~r~not~s~ have enough ~y~free space~s~, ~r~max is : '..sourceItem.limit.. ' for '..Item)```

not work ;/

Uff thats very critical bug, hope fix comes soon :frowning:

Remove font file from __resource.lua should help.

just tested, it says you paid 1x water for $30, but actually you paid $180 for all 6, check your money

Yes, but only remove half of stock in the shop.

Someone is having problem when buying an item, suppose (Ex: Water = 10 $, Bread = 10) when I buy two items at the same time it is only the first one I bought, in case it was to have 20 $ in the warehouse my store, but it is only 10 $ and the other 10 $ she did not charge,

so hello :slight_smile: i was wondering if anyone else has this problem to…

ee9871f4ec71d8b76bc86b4c47e232b4

when server start it make the blips show up 2 times…
for the shops i own and also for the shops i don’t own …

I have already been scrolling trough the section but so far can’t find a solution or that anyone else has this problem…

Me too and how can I change blips coler per shop ??

Seems when people rob they dont received nothing, how to fix this please.

So, there’s this issue, were 80% of the time when robbing a shop, the Vault wont appear, it will be invisible.

This is happening to me too, the vault isnt spawning / showing. But the damage model is there which makes you able to shoot it. But doesn’t spawn.

me too

Might be something to do with esx.game.spawnobject.
Not sure if it’s this script’s fault or ESx’s. I know it used to work 100% of the time, and nothing has changed in the script.