[Release][ESX Scripts + More]

Please actually read it if your going to comment something like that I’m not missing a table.

I wasn’t even talking to you, it wasn’t even a reply to your message. It was just a message towards the developer.

wtf then why did it give me a notif, makes sense my bad

if you would like a work-around to allowing only one player to have a vehicle on the server:
1: Add it to the DB for a high price.
2: Grant the user the money of the absurd price
3: Watch and let the user buy the specific vehicle
4: Remove the vehicle from the listings via DB
5: Enjoy!
other than that, I’m not sure what calls the model ID name , but it may be able to be found in the vehicles.meta or somewhere in that nature.

The only problem with doing that is that the server has to be restarted for the car to be added to the shop, I’ll try looking in the vehicles.meta and see what I can find

I’ve discovered an error when updating latest esx_vehicleshop

When going to the car dealership and stepping onto circle to buy, this appears:

Error resuming coroutine: client/main.lua:993: attempt to call a nil value (field ‘ShowHelpNotification’)
[ 85754] stack traceback:
[ 85754] client/main.lua:993: in function <client/main.lua:985>

Any ideas? :confused:

Edit.: I’ve updated es_extended and it works like a charm now :muscle:

hi when im using the aircraft shop we get theses errors… this one with dealer on…

[ 86254110] Error running call reference function for resource esx_society: citizen:/scripting/lua/scheduler.lua:351: server/main.lua:181: attempt to index a nil value (local ‘account’)
[ 86254110] stack traceback:
[ 86254110] server/main.lua:181: in upvalue ‘ref’
[ 86254110] citizen:/scripting/lua/scheduler.lua:337: in function citizen:/scripting/lua/scheduler.lua:336
[ 86254110] [C]: in function ‘xpcall’
[ 86254110] citizen:/scripting/lua/scheduler.lua:336: in function citizen:/scripting/lua/scheduler.lua:335
[ 86254110] stack traceback:
[ 86254110] [C]: in function ‘error’
[ 86254110] citizen:/scripting/lua/scheduler.lua:351: in function citizen:/scripting/lua/scheduler.lua:322
[ 86254110] [C]: in function ‘coroutine.resume’
[ 86254110] citizen:/scripting/lua/scheduler.lua:34: in field ‘CreateThreadNow’
[ 86254110] citizen:/scripting/lua/scheduler.lua:335: in function citizen:/scripting/lua/scheduler.lua:322
[ 86254141] Error running system event handling function for resource esx_addonaccount: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
[ 86254141] stack traceback:
[ 86254141] [C]: in function ‘error’
[ 86254141] citizen:/scripting/lua/MessagePack.lua:830: in method ‘underflow’
[ 86254141] citizen:/scripting/lua/MessagePack.lua:465: in field ‘any’
[ 86254141] citizen:/scripting/lua/MessagePack.lua:860: in field ‘unpack’
[ 86254141] citizen:/scripting/lua/scheduler.lua:563: in local ‘cb’
[ 86254141] server/main.lua:77: in upvalue ‘handler’
[ 86254141] citizen:/scripting/lua/scheduler.lua:175: in function citizen:/scripting/lua/scheduler.lua:174
[ 86254141] stack traceback:
[ 86254141] [C]: in function ‘error’
[ 86254141] citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
[ 86254141] citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:138
[ 86342704] Error running call reference function for resource esx_society: citizen:/scripting/lua/scheduler.lua:351: server/main.lua:100: attempt to index a nil value (local ‘account’)
[ 86342704] stack traceback:
[ 86342704] server/main.lua:100: in upvalue ‘ref’
[ 86342704] citizen:/scripting/lua/scheduler.lua:337: in function citizen:/scripting/lua/scheduler.lua:336
[ 86342704] [C]: in function ‘xpcall’
[ 86342704] citizen:/scripting/lua/scheduler.lua:336: in function citizen:/scripting/lua/scheduler.lua:335
[ 86342704] stack traceback:
[ 86342704] [C]: in function ‘error’
[ 86342704] citizen:/scripting/lua/scheduler.lua:351: in function citizen:/scripting/lua/scheduler.lua:322
[ 86342704] [C]: in function ‘coroutine.resume’
[ 86342704] citizen:/scripting/lua/scheduler.lua:34: in field ‘CreateThreadNow’
[ 86342704] citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:138
[ 86342735] Error running system event handling function for resource esx_addonaccount: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
[ 86342735] stack traceback:
[ 86342735] [C]: in function ‘error’
[ 86342735] citizen:/scripting/lua/MessagePack.lua:830: in method ‘underflow’
[ 86342735] citizen:/scripting/lua/MessagePack.lua:465: in field ‘any’
[ 86342735] citizen:/scripting/lua/MessagePack.lua:860: in field ‘unpack’
[ 86342735] citizen:/scripting/lua/scheduler.lua:563: in local ‘cb’
[ 86342735] server/main.lua:77: in upvalue ‘handler’
[ 86342735] citizen:/scripting/lua/scheduler.lua:175: in function citizen:/scripting/lua/scheduler.lua:174
[ 86342735] stack traceback:
[ 86342735] [C]: in function ‘error’
[ 86342735] citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
[ 86342735] citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:138
[ 86367547] Sending heartbeat to live-internal.fivem.net:30110
[ 86367844] [SAVED] [MxGaming]-Sparky

and this is just the shop on…

[ 86450204] Error running call reference function for resource esx_society: citizen:/scripting/lua/scheduler.lua:351: server/main.lua:181: attempt to index a nil value (local ‘account’)
[ 86450204] stack traceback:
[ 86450204] server/main.lua:181: in upvalue ‘ref’
[ 86450204] citizen:/scripting/lua/scheduler.lua:337: in function citizen:/scripting/lua/scheduler.lua:336
[ 86450204] [C]: in function ‘xpcall’
[ 86450204] citizen:/scripting/lua/scheduler.lua:336: in function citizen:/scripting/lua/scheduler.lua:335
[ 86450204] stack traceback:
[ 86450204] [C]: in function ‘error’
[ 86450204] citizen:/scripting/lua/scheduler.lua:351: in function citizen:/scripting/lua/scheduler.lua:322
[ 86450204] [C]: in function ‘coroutine.resume’
[ 86450204] citizen:/scripting/lua/scheduler.lua:34: in field ‘CreateThreadNow’
[ 86450204] citizen:/scripting/lua/scheduler.lua:335: in function citizen:/scripting/lua/scheduler.lua:322
[ 86450235] Error running system event handling function for resource esx_addonaccount: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: citizen:/scripting/lua/MessagePack.lua:830: missing bytes
[ 86450235] stack traceback:
[ 86450235] [C]: in function ‘error’
[ 86450235] citizen:/scripting/lua/MessagePack.lua:830: in method ‘underflow’
[ 86450235] citizen:/scripting/lua/MessagePack.lua:465: in field ‘any’
[ 86450235] citizen:/scripting/lua/MessagePack.lua:860: in field ‘unpack’
[ 86450235] citizen:/scripting/lua/scheduler.lua:563: in local ‘cb’
[ 86450235] server/main.lua:77: in upvalue ‘handler’
[ 86450235] citizen:/scripting/lua/scheduler.lua:175: in function citizen:/scripting/lua/scheduler.lua:174
[ 86450235] stack traceback:
[ 86450235] [C]: in function ‘error’
[ 86450235] citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
[ 86450235] citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:138

can i get some help please. im using the boat shop with out any problems and the car dealer without any probems. thanks man :slight_smile:

Can you tell me what you did to get these problems with the aircraft shop. I am using the aircraft shop right now without any issues.

nothing i installed it the same way i installed everything else soo not got a clue whats going on ?

never mind i have somehow fixed it. removed all aircraftshop files and removed all ref’s in db to that mod. and then went to ur git and reinstalled everything over. that seemed to fix the problem. not sure what happened the first time :frowning: but thanks boat and aircraft shops work like a charm :slight_smile: thanks man :slight_smile:

This is the first boat in the shop. (notice the name please)

and these are the ones i left in the shop (removed all the others and restarted my server)

and this is what happens when i press (right arrow)

What the heck is going on?
where do i add/remove boats?
i added everything to my server files. and to the database.


this one dont even work.

what have i done wrong?
i copied and pasted all the files

added them to my server.cfg
imported the .sql
and started my server.

dude i had the same problem as this, whats the error in the consol? @attAxOfficial

If you mean F8 than nothing shows up.

Nope the main consol on the server ? consol

or look for this file in the server folder

pic3 @attAxOfficial

ok so not a MySQL error. if i was you do this to see if you can fix it…

  1. removed all files to aircraft shop.
  2. remove all ref in database to the aircraftshop i.e everything the sql file is adding
    (INSERT INTO addon_account (name, label, shared) VALUES
    (‘society_aircraftdealer’,‘Airliner’,1)

1.a INSERT INTO addon_inventory (name, label, shared) VALUES
(‘society_aircraftdealer’,‘Airliner’,1)

2.a INSERT INTO jobs (name, label) VALUES
(‘aircraftdealer’,‘Airliner’)

3.a INSERT INTO job_grades (job_name, grade, name, label, salary, skin_male, skin_female) VALUES
(‘aircraftdealer’,0,‘recruit’,‘Recrue’,10,’{}’,’{}’),
(‘aircraftdealer’,1,‘novice’,‘Novice’,25,’{}’,’{}’),
(‘aircraftdealer’,2,‘experienced’,‘Experimente’,40,’{}’,’{}’),
(‘aircraftdealer’,3,‘boss’,‘Patron’,0,’{}’,’{}’)

4.a aircraftdealer_aircrafts

5.a owned_aircrafts

6.a rented_aircrafts

7.a aircraft_categories

8.a aircrafts

  1. go too https://github.com/HumanTree92/esx_aircraftshop/archive/master.zip

  2. reinstall everything once clean.

  3. delete cache file and start server.

let me know if you fix it. @attAxOfficial

just a quick one do you have eden aircraft garage installed?

@attAxOfficial join my ts3 if you need more help. pm me for ip

Everything for the Boat & Aircraft shop had to be updated. When i mean everything i mean everything. Make sure also when updating scripts to clear your server cache.

Do you have an updated version I could have? I have no idea what I have to do.

If I understood the thread correctly, he’s just saying to redownload the latest version of the script from Github and completely wipe out the old version from your server before you install the newer version. Scripts, database and cache.

Someone will correct me if I’m wrong.