Anyone knows how to fix the fact that when you buy multiple items, only the money from the first item is actually added to the store cash ?
Thanks.
Anyone knows how to fix the fact that when you buy multiple items, only the money from the first item is actually added to the store cash ?
Thanks.
ANOUNCEMENT ON SERVER CRASHES
Update your server to artifact 1313 or above. See #announcements (discord FiveM) for full post!
Updated but still crashing? Backtrack resources, disabling them one by one. Contact resource author or if made by yourself, provide reports on the forum. Known issues with: esx-kr-advanced-shops and Tabby CAD Tablet
Just don’t use this resource until the maker fix it.
Hey im trying to get it so that one of the shops spots I added can still be owned by someone but doesn’t appear on the map, (black market) if anyone can help me out that would be dope!
that’s good idea
This for a option for cardealer whuuuusaaa that will be nice!
thankyou it works perfectly
Error running call reference function for resource esx-kr-advanced-shops: citize
n:/scripting/lua/scheduler.lua:405: @esx-kr-advanced-shops/server/main.lua:164:
attempt to index a nil value (field ‘?’)
stack traceback:
@esx-kr-advanced-shops/server/main.lua:164: in upvalue ‘ref’
citizen:/scripting/lua/scheduler.lua:391: in function <citizen:/scriptin
g/lua/scheduler.lua:390>
[C]: in function ‘xpcall’
citizen:/scripting/lua/scheduler.lua:390: in function <citizen:/scriptin
g/lua/scheduler.lua:389>
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:405: in function <citizen:/scriptin
g/lua/scheduler.lua:374>
Error: Unhandled error in timer: Error: BUFFER_SHORTAGE
Error: BUFFER_SHORTAGE
at n.e [as reserve] (citizen:/scripting/v8/msgpack.js:29:12766)
at h (citizen:/scripting/v8/msgpack.js:29:15761)
at n.r [as decode] (citizen:/scripting/v8/msgpack.js:29:13908)
at n.fetch (citizen:/scripting/v8/msgpack.js:29:6972)
at n.u [as read] (citizen:/scripting/v8/msgpack.js:29:12076)
at Object.n [as decode] (citizen:/scripting/v8/msgpack.js:29:7097)
at unpack (citizen:/scripting/v8/main.js:20:33)
at citizen:/scripting/v8/main.js:51:20
at setImmediate (mysql-async.js:14901:7)
at Object.callback (citizen:/scripting/v8/timer.js:96:21)
We have like this problem
[FEEDBACK] MAYbe youz can incude an easier way to include items, like afrom a list or from the items.
And if you put stuff in your job the main menu is not closing @KRILLE
Man. This is easy. How easy do you want it to be? So easy that you can think and the script should do what you think? Like come on…
It is not possible to discuss the quality and help in this statement, some may call it an attempt at an answer… Let us now talk about the weather in Los Santos or additionally about diseases…?
Are you drunk or just dumb?
No, I just don’t like unqualified and pointless “help.” Please feel personally attacked, just think about your helpful answers.
Oh by the way, you shouldn’t infer from your state of health and stop insulting others #doyoga #smile
Error running call reference function for resource es_extended: citizen:/scripting/lua/scheduler.lua:405: @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: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/scheduler.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:276: 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: Unhandled error in timer: Error: BUFFER_SHORTAGE
Error: BUFFER_SHORTAGE
at n.e [as reserve] (citizen:/scripting/v8/msgpack.js:29:12766)
at h (citizen:/scripting/v8/msgpack.js:29:15761)
at n.r [as decode] (citizen:/scripting/v8/msgpack.js:29:13908)
at n.fetch (citizen:/scripting/v8/msgpack.js:29:6972)
at n.u [as read] (citizen:/scripting/v8/msgpack.js:29:12076)
at Object.n [as decode] (citizen:/scripting/v8/msgpack.js:29:7097)
at unpack (citizen:/scripting/v8/main.js:20:33)
at citizen:/scripting/v8/main.js:51:20
at setImmediate (mysql-async.js:14898:7)
at Object.callback (citizen:/scripting/v8/timer.js:96:21)
Cut on robbery not working still get 10%
Hi, did you ever receive this kinda bug? When I want to add items that came from shipment from my inventory to shop nothing happens. They stay in my inventory. I can record a video tomorrow or something. Did anyone fix something like this before? Thanks…
So, I got this weird error. No duplications in my DB, that’s why I need help. Although, “name” or actual item and “item” in Shops has to match…! So wtf is going on? Any advice, please?
[ERROR] [MySQL] An critical error happens on MySQL for query "SELECT * FROM shops LEFT JOIN items ON items.name = shops.item {=}": An item with the same key has already been added. Key: label at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <fbc4ec45371543bfba3678ebb82caf6d>:0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <fbc4ec45371543bfba3678ebb82caf6d>:0
at MySQLAsync.FetchAll.ReaderAsync (MySql.Data.MySqlClient.MySqlCommand command) [0x000e9] in <6b79789832b34a31961dbb39358e1b3f>:0
at MySQLAsync.Operation`1[TResult].ExecuteAsync (System.String query, System.Collections.Generic.IDictionary`2[TKey,TValue] parameters, CitizenFX.Core.CallbackDelegate callback, System.Boolean debug) [0x00169] in <6b79789832b34a31961dbb39358e1b3f>:0
It was working fine till now… Now it messes up with anything on Shops (items up for sale to anyone) after startup - that’s when I get this error above
when you buy multiple items, only the money from the first item is actually added to the store cash !
anyone knows how to fix that?
Thanks.
Have you managed to sell weapons via this resource, @XxFri3ndlyxX?
I am trying to sell balls you can throw as you are messing around with your virtual doggo. But since it’s a weapon, a change in a script is needed. Any help on this would be appreciated 
[ERROR] [MySQL] [esx-kr-advanced-shops] An error happens on MySQL for query “SELECT * FROM shops WHERE ShopNumber = 2”: ER_BAD_FIELD_ERROR: Unknown column ‘ShopNumber’ in ‘where clause’
how can i fix this error?
Has anyone figured out how to have seperate shops selling different items.
For example I dont want the shops in town selling guns but I dont mind the shops in the middle of nowhere selling them.