Hello
Why do I get esx_datastore error messages when I buy in a clothing store(clotheshop)?
Error running system event handling function for resource esx_datastore: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: @esx_datastore/server/main.lua:56: attempt to get length of a nil value (field '?')
stack traceback:
@esx_datastore/server/main.lua:56: in function 'GetDataStore'
@esx_datastore/server/main.lua:78: in upvalue 'handler'
citizen:/scripting/lua/scheduler.lua:219: in function <citizen:/scripting/lua/scheduler.lua:218>
stack traceback:
[C]: in function 'error'
citizen:/scripting/lua/scheduler.lua:41: in field 'CreateThreadNow'
citizen:/scripting/lua/scheduler.lua:218: in function <citizen:/scripting/lua/scheduler.lua:182>
i just install and start esx_datastore to esx folder and esx_datastore.sql import to my database.
same for me please helppppppppp …
How does your resources starting order look like?
I did not get your question ,
I start these resources like other sources.
endpoint_add_tcp "0.0.0.0:30120"
endpoint_add_udp "0.0.0.0:30120"
set mysql_connection_string "server=localhost;uid=root;password=;database=essentialmode"
set es_enableCustomData 1
set sv_licenseKey "xxxxxxxxxxxxxxxxxx"
sv_scriptHookAllowed 0
#rcon_password blablablabla
sv_hostname "GTAv SERVER"
set temp_convar "ESX"
load_server_icon myLogo.png
# disable announcing? clear out the master by uncommenting this
#sv_master1 ""
# want to only allow players authenticated with a third-party provider like Steam?
sv_authMaxVariance 1
sv_authMinTrust 1
# add system admins
add_ace group.admin command allow # allow all commands
add_ace group.admin command.quit deny # but don't allow quit
add_ace resource.essentialmode command.sets allow
add_ace resource.essentialmode command.add_ace allow
add_ace resource.essentialmode command.add_principal allow
add_principal identifier.steam:1100001356a3995 group.admin # add the admin to the group
# hide player endpoints in external log output
sv_endpointprivacy true
#### FIVEM DEFAULT ####
start mapmanager
start chat
start spawnmanager
start sessionmanager
restart sessionmanager
start fivem
start hardcap
start rconlog
#start scoreboard
start baseevents
#### MYSQL ASYNC
start mysql-async
#### ESSENTIAL MODS
start essentialmode
start esplugin_mysql
start es_admin2
start es_extended
#### ESX REQUIRED MODS
start cron
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 esx_society
start esx_billing
#### ESX ANY OTHER MODS
start esx_status
start esx_basicneeds
start esx_license
start esx_identity
start esx_scoreboard
start esx_vehicle_inventory
#### ESX JOBS
start esx_jobs
start esx_policejob
start esx_ambulancejob
start esx_mechanicjob
#### ESX Shop & Stori
start esx_shops
start esx_weaponshop
start esx_vehicleshop
start esx_clotheshop
start esx_lscustom
start esx_holdup
#### ANY NON ESX MODS
start realisticvehicle
start pNotify
start vehcontrol
start handsup
start esx_property for this problem 
Oh my godddddd
thank you man
my problem solved properly
I HAVE PROPERTY NOT THE SAME

I HAVE PROPERTY NOT THE SAME

I started esx_propiety but nothing to do
could you help and expand this solution, is it a server.cfg load order or what? im using esx_property also and its not saving clothes in there
@Spacetrucker you should add this two lines in your sql :
INSERT INTO ‘datastore’ (‘name’, ‘label’, ‘shared’) VALUES (‘property’, ‘Property’, ‘0’),
INSERT INTO ‘datastore’ (‘name’, ‘label’, ‘shared’) VALUES (‘dressing’, ‘Dressing’, ‘0’);
2 Likes
nheb notel nal3eb f serveur
nheb nod5el nal3eb f serceur
how would i go on adding this