[DISCONTINUED] esx-kr-advanced-shops

ik have a question because. when people dont buy a shop. can people go to a shop then en buy stuff?

1 Like

1st off you have price and prince fix that

OMG sorry. working

[BUGREPORT]
Using Mellotrainer - if I wonna teleport the teleport ends all time on shopbuy position. Whereever I’m, whereever I wonna teleport… @KRILLE

by the way maybe you wonna check your github pullrequests, they are waiting since a month :wink:

thank you for great script but I have a problem with shipment when it is arrived I can’t take it to my inventory any idea ?

1 Like

Is it possible to set the items that are ordered to go straight into the shops inventory? and not into the person’s inventory.

Also, it would be awesome to change the delivery time to be multiplied by the amount of items ordered.
So base would be like 1 minute an item. if i order 10 items. 10 minutes.

i have the same problem with shipments but i do have an error in my consle

Error running call reference function for resource es_extended: citizen:/scripting/lua/scheduler.lua:405: @es_extended/server/classes/player.lua:311: attempt to index a nil value (local ‘item’)
stack traceback:
@es_extended/server/classes/player.lua:311: in upvalue ‘ref’
citizen:/scripting/lua/scheduler.lua:391: in function citizen:/scripting/lua/scheduler.lua:390
[C]: in function ‘xpcall’
citizen:/scripting/lua/scheduler.lua:390: in function citizen:/scripting/lua/scheduler.lua:389
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:405: in function citizen:/scripting/lua/scheduler.lua:374
Error running call reference function for resource esx-kr-advanced-shops: citizen:/scripting/lua/scerror in mono_error_set_argument_null:

heduler.lua:405: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/MessagePack.lua:830: in method ‘underflow’
citizen:/scripting/lua/MessagePack.lua:465: in field ‘any’
citizen:/scripting/lua/MessagePack.lua:860: in field ‘unpack’
citizen:/scripting/lua/scheduler.lua:628: in field ‘addInventoryItem’
@esx-kr-advanced-shops/server/main.lua:274: in upvalue ‘ref’
citizen:/scripting/lua/scheduler.lua:391: in function citizen:/scripting/lua/scheduler.lua:390
[C]: in function ‘xpcall’
citizen:/scripting/lua/scheduler.lua:390: in function citizen:/scripting/lua/scheduler.lua:389
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:405: in function citizen:/scripting/lua/scheduler.lua:374
[ERROR] [MySQL] Check the error above, an error happens when executing the callback from the query : "SELECT * FROM shipments WHERE id = @id AND identifier = @identifier {@id=15;@identifier=steam

i had the same problem it turned out i had an item in my shop that didnot exsist in my items in my SQL items

1 Like

If I enable this rescource the server just completely crashes, as soon as the rescource is loaded at start up. What could be the cause and how to fix.

I tried downloading the rescource again but this didn’t help.
Also deleting sql tables and adding them again doesn’t help.

I had the rescource working before but now after 5 days of not touching the server it just crashes…

Hello can you help me please with something with this shops on our server ? We need one thing. Can you contact me on discord: GameBross#2662 ? Please I need help.

are u using linux ?

if you using the new version of essential mode or es extended the script is crashing. im busy looking at it my self

I could repload this with all the working vaults and couple extra locations that was added in on my server. If anyone interested just let me know. This is one of the best resources for FiveM in my opinion, its great.

1 Like

I would definetely be interested!

Will pm you now, not sure if I’m able to upload it here.

What to open menu boss/owner

I would also love this.

I don’t know if this would be possible if Gas Stations could be added into this , so if people own it anyone that purchases fuel the owner would get the money?

Can we possibly have it so we could set the price of what we want to sell the shop at rather than buying at e.g 220000 and selling it for 120000. for me I would want to sell it at a price that I feel is fair

So this is the error i’m getting :

Error running call reference function for resource es_extended: citizen:/scripting/lua/scheduler.lua:403: @es_extended/server/classes/player.lua:320: attempt to index a nil value (local ‘item’)
stack traceback:
@es_extended/server/classes/player.lua:320: in upvalue ‘ref’
citizen:/scripting/lua/scheduler.lua:389: in function citizen:/scripting/lua/scheduler.lua:388
[C]: in function ‘xpcall’
citizen:/scripting/lua/scheduler.lua:388: in function citizen:/scripting/lua/scheduler.lua:387
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:403: in function citizen:/scripting/lua/scheduler.lua:372
Error running call reference function for resource esx-kr-advanced-shops: citizen:/scripting/lua/scheduler.lua:403: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/MessagePack.lua:830: in method ‘underflow’
citizen:/scripting/lua/MessagePack.lua:465: in field ‘any’
citizen:/scripting/lua/MessagePack.lua:860: in field ‘unpack’
citizen:/scripting/lua/scheduler.lua:626: in field ‘addInventoryItem’
@esx-kr-advanced-shops/server/main.lua:276: in upvalue ‘ref’
citizen:/scripting/lua/scheduler.lua:389: in function citizen:/scripting/lua/scheduler.lua:388
[C]: in function ‘xpcall’
citizen:/scripting/lua/scheduler.lua:388: in function citizen:/scripting/lua/scheduler.lua:387
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:403: in function citizen:/scripting/lua/scheduler.lua:372
[ERROR] [MySQL] Check the error above, an error happens when executing the callback from the query : “SELECT * FROM shipments WHERE id = @id AND identifier = @identifier {@id=1;@identifier=steam:11000010e4598df}”

Any help would be apreciated as I can’t take the items out of the store once it’s been delivered