[HELP] ESX scripts wont load after changes

hey i need some help here i guess. Everytime i change something in a esx related script only for esx any standalones works fine it gives me error resuming coroutine… attempt dto index a nil value (global ‘config’) even if i only translate a single text line or set a function from false in true its like its not able to read my changed files. is there someone who knows whats wrong here ?

im out of options tho i tryed everything i just change a single letter and change it back still get error and script isnt loading anymore xD i have to extract the original files again to get it to work

thats not normal
thanks for any answers

1 Like

you might have broken the client/main.lua, take a look and see what part uses the config, translations are supposed to made to the locales

u missunderstand me tho even if i go back to original state its not able to get loaded till i unpack it from the zip again so i dont broke anything i have a workaround now where i have to create a new client.lua or anything by myself and copy the code in it to replace the original one. than i was able to edit the scrtipt thats wired and its even the same with the whole esx base ( sorry for my englisch im german)

1 Like

can we see your start order?

u can but its even if i only have es and esx base installed even than i cant edit one single file without having this issue so the start order is not the problem i guess it could be a widnows problem not esx but its wired that only esx scripts giving this issue

start mysql-async
start essentialmode
start esplugin_mysql
start loadingscreen
start es_extended
start es_admin2
start esx_kashacters
start esx_menu_default
start esx_menu_list
start esx_menu_dialog
start bob74_ipl
#start fivem-ipl
start NativeUI

ESX REQUIRED MODS

start instance
start cron
start esx_map
start esx_extraitems
start esx_identity
start skinchanger
start esx_skin
start esx_menu_default
start esx_menu_list
start esx_menu_dialog
start esx_addonaccount
start esx_addoninventory
start esx_datastore

#start lastpostodb
start esx_society
start esx_service
start esx_billing
start stamina
#start esx_drp_garage-stable
start esx_jb_eden_garage
#start Kuana_garage
start esx_addons_gcphone
start gcphone
start Notifications
#start realtime
#start staff

ESX JOBS

start esx_bennysjob
start esx_lscustom
start esx_fbi_job
start esx_unicornjob   
start esx_jobs
start esx_joblisting
start esx_taxijob
start esx_mechanicjob
start esx_policejob
start esx_property
start esx_realestateagentjob
start esx_bankerjob
start esx_ambulancejob
start esx_vehicleshop

ESX ANY OTHER MODS

#start nocarjack
#start esx_jb_stopvehicledespawn
start hrp_pd_impound
#start StopDespawn
start ft_libs
start esx_migrate
#start esx_importshop
start ar_stationLock
start ar_bennyslock
#start esx_celldoors
start esx_doorlock
start esx_vehiclelock
start esx_hacking
start handling-editor
start nw_mine-master

start esx_tattoosShops

#start 99kr-burglary
#start vVoice
start esx-kr-vehicle-push
start esx_teleports
#start esx_lapdance
start esx_jb_realtimejailer
#start esx_cinema
start esx_selldrugs
start esx-ecobottles
start esx_animations
start esx_status
start esx_basicneeds
start esx_eden_clotheshop
#start esx_garage
start esx_holdup
start esx_drugs
start esx_atm
start pNotify
start esx_inventoryhud
start esx_inventoryhud_trunk
start esx_optionalneeds
#start esx_blackberry
start salty_crafting
#start esx_shops
#start esx_supermarket
start esx-kr-advanced-shops
start esx_voice
start esx_sit
#start esx_planting
start the esx-kr-bag-inventory
start new_banking
start openinteriors
start PvP
start vMenu
start esx_ladderhud
start tn_vehicleinteraction
#start esx_locksystem
#start esx_aiomenu
start LegacyFuel
#start esx_AdvFuel
#start frfuel
start SexySpeedometer
start esx_moneywash
#start esx_borrmaskin
#start esx_robatm
#start esx_nurkowanie
#start paintball_map
#start esx_paintball
#start gun
start InteractSound
#start esx_lscustom
##start esx_firstaid
start ESX_GiveCarKeys
#start speedo
start arrestanims
#start lux_vehcontrol
start SaveWheel
start RealisticVehicleFailure
start CustomScripts
start vrp_taxi
start esx-carrental
start towtruck
start heli
start esx_AdvancedFishing

start npcremove
1 Like

Hi I have the same problem!, you found the error ?

1 Like

What file/files are you trying to edit?
Because in some cases, you shouldn’t change text lines that includes false to true, this is the case for scripts that has chat commands, and key commands like the esx_jobs script, this text shows in the top of the script/text you are trying to edit.

Example:
client.lua

 enable_example_plugin(true)

      example_plugin
           keybind(0, 256)

(Note: I’m new to LUA scripting and the example resource is not accurate, it is just there to show an example of what a normal LUA file would look like.

na thats not whats trigger the error ^^ if i copy the content of the files that wont load and create the same file by myself and past the same thing in it it works so i guess its some windows issue not the code

oh alright…