[Release][ESX] Base

roleplay
esx

#722

What do you mean “settings” you are talking about zap-hoting settings?
And my language “lt” is not default by zap-hosting


#723

Right on the left side. you have pages, scroll down till you see “settings” if “lt” isent there default and they dont support it you will have to translate it your self and then use “lt” inside the menu.


#724

Yes, I translated some locale/lt.lua files and in zap-hostong changed esx to “lt” but when I start game everywhere writing [lt] does not exist - for example in voice chat. I need help with that!


#725

Error running call reference function for resource es_admin2: citizen:/scripting/lua/scheduler.lua:403: server.lua:362: attempt to index a nil value (local ‘user’)
stack traceback:
server.lua:362: 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

es_admin2 came with essentialmode files


#726

Its probably because you missed some variables

Did you add “locales/lt.lua” to __Resources.lua?


#727

@GiZz
Im bagging you, please help me…
I spent 5 hours and Esx still wont work


#728

help, pleaseeeeeeeeeeeeeeee


#738

Nobody will help you


#739

Nice!


#740

https://gyazo.com/052d432e0b89b072e241c819fd40f824 What does this mean?


#741

where am i changing this?


#742

where did you have to change that at?


#743

nvm i got it thanks!!!


#744

ok, for anyone else wondering its in the server.cfg


#745

Greetings everyone,

I’m trying to set ESX where if a player is killed they lose their loadout and last position, and begin as a new character. I’ve opened main.lua on the client side, on line 60 it handles the loadout and position. No matter what settings I change my character respawns in the position he was killed, with all of his gear. Line 79 for “esx:onPlayerDeath” I’ve changed it to false, but again no success. Any help would be great. Thanks


#746

es_extended

Error running call reference function for resource es_extended: citizen:/scripting/lua/scheduler.lua:403: server/main.lua:61: attempt to index a nil value (field '?')
stack traceback:
        server/main.lua:61: 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: Unhandled error: 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:11
    at setImmediate (mysql-async.js:4962:9)
    at Object.callback (citizen:/scripting/v8/timer.js:56:6)

Why does it happen? just randomly opened the server and it gave me this error when I joined(didn’t load my data or anything).

EDIT: nvm, had to fix user_inventory because it had removed items.


#747

everytime i die this pops up


#748

also was wondering if there was a way to get the money and job either smaller or off the screen?


#749

Learn how to code…


#750

And then he comes in with the


Great advice there bud, try to be a lot nicer and you might get the assistance you need.