FAQ
Frequently asked questions
How to add function to automatically hide, show my interface?
Inside /client/cl_worker.lua
find function HandleHud
Where hideHud
is a state
How to change default settings of the new user?
Inside /shared/config.lua
you can find and object named Config.DefaultSettings
Replace the string from the name from /shared/config_usersettings.lua
How to add more cameras or filters?
Those actions can be done inside /shared/config_usersettings.lua
How to add more default locations?
Visit /shared/config_locations.lua
and add location with unique key:
How to change starting items?
Important note!
Remember that it's only exclusive for ESX, to change that for QBCore you have to change those in QBCore!
Inside /shared/config.lua
you can find the basics of the starting items
How to change location of default spawn coords?
Inside /shared/config.lua
you can find that line:
You can just change the coords and heading and you're ready to go!
How can I set so the players won't swap locations on logout?
Inside shared/config.lua
you can find following:
How can I change my server logo?
Visit /shared/config.lua
and find the following code:
Make sure to use proper CDN! Discord or IMGUR cdn's are not supported due to cross-origin-policy! We suggest using https://fivemanage.com which is trusted site for such things.
How can I change default music?
Inside /shared/config.lua
you can just adjust that line:
How can I default characters amount?
Inside /shared/config.lua
find the following:
How can I set user characters amount?
Inside the table in SQL you can find zsx_multicharacter_slots
all you have to know before that is user license or any other selector that you've set inside config. In amount
column adjust the number and that's all! Resource gathers on logout all data once again so they are refreshed at the initialize point.
How can I enable/disable debug?
Inside /shared/config.lua
you can find the line
Or you can use issue helper and then copy the server side console content to our discord.
How can I adjust clothing timer?
Inside /shared/config.lua
you can find following line:
How can I change my skin functions?
If you're using one of those listed appearance resources:
esx_skin [skinchanger]
qb-clothing
illenium-appearance
fivem-appearance
crm-appearance
You can just change inside shared/config.lua
If not then go to client/framework/framework_functions.lua
and find those functions:
Framework.OpenSkinMenu
Framework.SetSkin
You can add your export/event and manage the player skin within that file.
I'm from China and YouTube is restricted
Sadly on that part we can only give you snippet that will still give you access to joining the server but the music will still be not usable (unless you're using a VPN)
To make that work without the YouTube part, please go to client/html/js/loader.js
and add following line to the 3rd line:
Last updated