[Release][ESX] Base



Drug activity required cops online: I am trying to change the # of required cops online for the drug and robberies - in the config file of ESX_drugs it gives you this following line that I am editing, and every time I edit it and save it - it’s always reverting back to the original “2”. I am trying to disable this portion for testing purposes so that these actions (drugs and robberies) can happen with 0 cops online. Can anyone tell me what I’m doing wrong? for the robberies - I am change the esx_holdup config.


Config = {}
Config.MarkerType = 1
Config.DrawDistance = 100.0
Config.ZoneSize = {x = 5.0, y = 5.0, z = 3.0}
Config.MarkerColor = {r = 100, g = 204, b = 100}
Config.ShowBlips = true --markers visible on the map? (false to hide the markers on the map)

Config.RequiredCopsCoke = 2
Config.RequiredCopsMeth = 2 <----- I’ve been changing all 4 of these values, and no mater what I change them
Config.RequiredCopsWeed = 2 to they’ve been reverting back to the “2”
Config.RequiredCopsOpium = 2

Config.TimeToFarm = 17 * 1000
Config.TimeToProcess = 46 * 1000
Config.TimeToSell = 5 * 1000

Config.Locale = ‘en’

Config.Zones = {
CokeField = {x = 2448.92, y = -1836.80, z = 51.95, name = _U(‘coke_field’), sprite = 501, color = 40},
CokeProcessing = {x = -458.13, y = -2278.61, z = 7.51, name = _U(‘coke_processing’), sprite = 478, color = 40},
CokeDealer = {x = -1756.19, y = 427.31, z =126.68, name = _U(‘coke_dealer’), sprite = 500, color = 75},
MethField = {x = 1525.29, y = 1710.02, z = 109.00, name = _U(‘meth_field’), sprite = 499, color = 26},
MethProcessing = {x = -1001.41, y = 4848.00, z = 274.00, name = _U(‘meth_processing’), sprite = 499, color = 26},
MethDealer = {x = -63.59, y = -1224.07, z = 27.76, name = _U(‘meth_dealer’), sprite = 500, color = 75},
WeedField = {x = 1609.12, y = 6663.59, z = 20.96, name = _U(‘weed_field’), sprite = 496, color = 52},
WeedProcessing = {x = 91.06, y = 3750.03, z = 39.77, name = _U(‘weed_processing’), sprite = 496, color = 52},
WeedDealer = {x = -54.24, y = -1443.36, z = 31.06, name = _U(‘weed_dealer’), sprite = 500, color = 75},
OpiumField = {x = 1972.78, y = 3819.39, z = 32.50, name = _U(‘opium_field’), sprite = 51, color = 60},
OpiumProcessing = {x = 971.86, y = -2157.00, z = 28.47, name = _U(‘opium_processing’), sprite = 51, color = 60},
OpiumDealer = {x = 2331.08, y = 2570.22, z = 45.30, name = _U(‘opium_dealer’), sprite = 500, color = 75}


Draw an marker on location, then when the player enters the marker you teleport it in


After update today esx_status doesn’t work. The error is: invalid ref call attempt 1


How do i add, so i can see what job i have on the f2 menu (Player menu)


My /setjob is not working somehow… It tells me wrong Usage but I did /setjob ID Job Grade … Before, my script was good.


Make sure you have updated essentialmode and es_extended so they are in the same version


Is their a Discord i could join or any voice chat to get support with my ESX?

We have a problem with the PD and Car Dealer. Our Server Hosting support team doesnt know how to fix our problem nor does our dev team.


Hey guys, so I believe something with my **ESX is conflicting with my custom spawn **, whenever I add a spawn point and i restart the server all of the random spawn points gets put bck in my file sources, and the custom one is gone.


Can someone help me with people getting dual bills? I’ve reinstalled es_extended, essentialmode and esx_billing multiple times, I get no errors neither in the console or F8 menu so I don’t know what do to. It doesn’t matter which job is sending the bill, the player gets double bills. Instead of 1 2k bill they get 2 2k bills…


it is possible to hide job grade in esx hud?
And how?


hi ok so i tryed to get this to work on a (citadel) sever but it doesent work does some one know how to get it to work ?



I have a problem that my voice chat isn’t working. I see my voice becoming blue, others see my id is blue so i talk, i tried toggling my voice chat on and off.

Kind regards,


Has anyone had the error where whenever you walk into a blip the notification sound will continue to ding and ding and ding until you open the menu?


someone help me
Someone has this feature with fix so that when you are in the menu of SKIN creating your character and passes the options rapidadente it appears saying this message http://prntscr.com/kz6ade and the fall of FPS


im getting this error on server start up can anyone help.

Error: (node:8740) UnhandledPromiseRejectionWarning: TypeError: Cannot read property ‘3’ of null
at parseConnectingString (mysql-async.js:5124:30)
at global.on (mysql-async.js:5140:18)
at citizen:/scripting/v8/main.js:186:28
Error: (node:8740) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
Error: (node:8740) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.


Can someone help me? Why when I use esx:getSharedObject in my script there is an error in the console attempt to index nil value (global ‘ESX’)? Because of this error, I can not use any functions of ESX

ESX = nil

	while ESX == nil do
		TriggerEvent('esx:getSharedObject', function(obj) ESX = obj end)

	while true do
		local ped = PlayerPedId()
		while IsPedArmed(ped, 7) do
			ESX.ShowNotification("Help with ESX")



Try commenting out your resources from your Server.cfg file and turning them on one by one to confirm which resource is the issue. This will help narrow it down. You may be correct that this line is the problem but you should make sure that your not attacking this error from the wrong angle.

Let me know what your results are.


Does anyone know where to change the text for the Inventory Menu:

When entering the submenu of an Item I see “Throw” and “Return” I would like to change these values.

I have looked through all of the files and can’t seem to track them down.pic


Any news on why with the new build of FiveM when we type a command we get INVALID REF CALL ATTEMPT: NUMBER


I’m having problems installing ESX to my server everytime I try to put it in my server it doesn’t work nothing shows up there is no esx hud at all Plz Help