[Release] [WIP] ESX 2

use backspace

Ah that seems like a dumb question now lol. thanks.

How can I disable the ipl loader?

I have a problem to refresh the money into the hud. If I change the values through es_admin2, the cash money is updated immediately, but when I change the bank money until I don’t receive the salary the update does not take place.

I also have problem to update Society Money. Only after a complete restart of the server I get the update.

Any suggestion?

how to delete the copying options of weapons? When people have a BW and take off and weapons when they get up, they still have it weapons.

Same problem some solution? Thanks!

When i’m opening inevtory i see this in the console F8.

es_extended/client/main.lua:479-489

Citizen.CreateThread(function()
while true do

	Citizen.Wait(0)

	if IsControlJustReleased(0, Keys['F2']) and IsInputDisabled(0) and not isDead and not ESX.UI.Menu.IsOpen('default', 'es_extended', 'inventory') then
		ESX.ShowInventory()
	end

end

end)

My FiveM crash after add es_extended
image

dump filed10d8b2e-faa3-4fbb-ac46-6a75e3122917.dmp (376.3 KB)

hi. is it possible to force the database to be updated?

i am working on making a multi character script work, and it works really well so far, but does not save player location or any changes when switching to another character.

is there some client or server event i can trigger to make it save when a certain chat command is typed?

have tried looking into the code, and triggering the “playerDropped” and “esx:playerDropped” thingies, both as server and client, and also just as an event, with no luck. copying the contents of the command also fails.

In advance Thanks for the reply.

EDIT just noticed, that playerDropped and esx:playerDropped are not registered as events, hence why they did nothing… however copying the code from esx:playerDropped also did not work, when making a custom eventhandler.

In your server.cfg file, comment out the “start iplLoader” line so it looks like this “#start iplLoader”

that should stop ipl files from being loaded.

Thank you, I’ve been looking for this <3

Could anyone help me with this error code? On how to stop it from appearing? There are 5 players in the server and (I think) it is occuring when every players gets auto saved to the database. But I just can’t get a clue from the error.

Thanks a lot!

[SAVED] All players
Sending heartbeat to live-internal.fivem.net:30110
Error running call reference function for resource esx_society: citizen:/scripting/lua/scheduler.lua:403: @esx_society/server/main.lua:334: attempt to index a nil value (local ‘store’)
stack traceback:
@esx_society/server/main.lua:334: 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
[C]: in function ‘coroutine.resume’
citizen:/scripting/lua/scheduler.lua:34: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:387: in function citizen:/scripting/lua/scheduler.lua:372
Error running system event handling function for resource esx_datastore: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: 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 local ‘cb’
@esx_datastore/server/main.lua:86: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:219: in function citizen:/scripting/lua/scheduler.lua:218
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:218: in function citizen:/scripting/lua/scheduler.lua:182
Error running call reference function for resource esx_society: citizen:/scripting/lua/scheduler.lua:403: @esx_society/server/main.lua:334: attempt to index a nil value (local ‘store’)
stack traceback:
@esx_society/server/main.lua:334: 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
[C]: in function ‘coroutine.resume’
citizen:/scripting/lua/scheduler.lua:34: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:387: in function citizen:/scripting/lua/scheduler.lua:372
Error running system event handling function for resource esx_datastore: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: 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 local ‘cb’
@esx_datastore/server/main.lua:86: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:219: in function citizen:/scripting/lua/scheduler.lua:218
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:218: in function citizen:/scripting/lua/scheduler.lua:182
Error running call reference function for resource esx_society: citizen:/scripting/lua/scheduler.lua:403: @esx_society/server/main.lua:334: attempt to index a nil value (local ‘store’)
stack traceback:
@esx_society/server/main.lua:334: 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
[C]: in function ‘coroutine.resume’
citizen:/scripting/lua/scheduler.lua:34: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:387: in function citizen:/scripting/lua/scheduler.lua:372
Error running system event handling function for resource esx_datastore: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: 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 local ‘cb’
@esx_datastore/server/main.lua:86: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:219: in function citizen:/scripting/lua/scheduler.lua:218
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:218: in function citizen:/scripting/lua/scheduler.lua:182

does anyone know how to remove the F2 menu? without the menu fkn up every time i have tried to set the F2 key to something else, or deleted the command line for it the whole ui weapons / Cmd chat has messed up , i am trying to replace this f2 menu with a better looking menu , if anyone would be able to help me?

I cant seem to get the gun licenses to work, can anyone assist me?
I can buy everyweapon from start.

a nil value in esx_society on line 334 is making the error, look for store on that line to see what is going on, is it a value or something that is typed wrong.

will try to help as much as possible.

do you have anything relating to a gun license? a sepperate script or something you made yourself? and what weapon shop script are you using? does that one support a license?

hi where you find this code please? Im trying es_extended weasshop etc :smiley:

Is there a way to change esx billing to be able to pay a bill even if the sender is offline?

when ever i load in my character saves but my location doesn’t? i always spawn at a random spot on the map never where i logged out?