[EssentialMode 4] [FXServer] es_rp | _The_ Roleplay Gamemode [Beta-ish or so]

It’s working great so far, thanks for the hard work.

I get this error with banking :confused:


Same here also how do I change the job vehicles to add on cars?

Don’t put essentialmode in a subfolder

Edit the jobs.lua in /es_rp/ it should be at the very bottom.

It’s inside resource folder :confused:



That’s the only thing that helped for someone else, no idea otherwise.

1 Like

NVM, thanks :slight_smile:

Just started getting the same error, did you get it figured out? :grinning:

Nope… if anyone know how to fix it help pls :worried:

It’s strange, I can see the money in the DB but if I go to a bank I can’t take anything out and its not displayed on my HUD.

Bugfix

Removed reviving, you will just respawn instantly on death because there were way too many issues with it.

Thank you for sharing this! Works fine except for the banking system, cannot deposit or withdraw cash.

Error running call reference function for resource banking: server.lua:24: attempt to index a nil value
stack traceback:
        server.lua:24: in function 'bankBalance'
        server.lua:28: in function 'deposit'
        server.lua:78: in local 'ref'
        citizen:/scripting/lua/scheduler.lua:262: in function <citizen:/scripting/lua/scheduler.lua:253>
        [C]: in function 'coroutine.resume'
        citizen:/scripting/lua/scheduler.lua:33: in field 'CreateThreadNow'
        citizen:/scripting/lua/scheduler.lua:118: in function <citizen:/scripting/lua/scheduler.lua:87>
Error running system event handling function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:39: 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:323: in local 'cb'
        server/player/login.lua:88: in upvalue 'handler'
        citizen:/scripting/lua/scheduler.lua:119: in function <citizen:/scripting/lua/scheduler.lua:118>
stack traceback:
        [C]: in function 'error'
        citizen:/scripting/lua/scheduler.lua:39: in field 'CreateThreadNow'
        citizen:/scripting/lua/scheduler.lua:118: in function <citizen:/scripting/lua/scheduler.lua:87>
hitch warning: frame time of 168 milliseconds
Error running call reference function for resource banking: server.lua:24: attempt to index a nil value
stack traceback:
        server.lua:24: in function 'bankBalance'
        server.lua:38: in function 'withdraw'
        server.lua:112: in local 'ref'
        citizen:/scripting/lua/scheduler.lua:262: in function <citizen:/scripting/lua/scheduler.lua:253>
        [C]: in function 'coroutine.resume'
        citizen:/scripting/lua/scheduler.lua:33: in field 'CreateThreadNow'
        citizen:/scripting/lua/scheduler.lua:118: in function <citizen:/scripting/lua/scheduler.lua:87>
Error running system event handling function for resource essentialmode: citizen:/scripting/lua/scheduler.lua:39: 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:323: in local 'cb'
        server/player/login.lua:88: in upvalue 'handler'
        citizen:/scripting/lua/scheduler.lua:119: in function <citizen:/scripting/lua/scheduler.lua:118>
stack traceback:
        [C]: in function 'error'
        citizen:/scripting/lua/scheduler.lua:39: in field 'CreateThreadNow'
        citizen:/scripting/lua/scheduler.lua:118: in function <citizen:/scripting/lua/scheduler.lua:87>
2 Likes

Seems to be an issue more are having. But I haven’t been able to reproduce it. If you can contact me on discord so I can properly debug this with you I may be able to find a fix.

I don’t know why starting money does not work.
no errors.
Anyone know what it could be?

I seem to be having issues with the job garages, i’ve attempted to spawn vehicles with all of them, but unfortunately it doesn’t want to work. Doesn’t appear to have any errors. Any ideas?

Hello, I have noticed that this plugin is only for essentialmode4. Essentialmode4 is only for fx server. How do I get my hands on an FX server/client?

https://wiki.fivem.net/wiki/Running_FXServer

Download the old 3.something Essentialsmode and take es_admin from that then it works

How do you add someone to a whitelisted job?