The issue with esx_property and esx_status is caused by custom JS clientside script.
Don’t be confused with NUI/resource .js files, we are talking about client_script which is JavaScript file instead of lua.
How to trace it down:
The easiest method for me was to: cd FIVEM_RESOURCES_DIR
then
Confirmed resources which are breaking the esx_status/property:
Once again, remember it’s about JS file which is defined as client side script. All of the nui js files are fine, as they are just part of the specific resource.
Thanks to @iridium from FiveM’s staff for helping out!
I have a problem I can’t do anything with the properties. I edited the SQL and now nothing works. here’s a vid. and here’s my SQL… properties.sql (19.9 KB)
I’m not a genius programmer but I think those commands are for Linux if I’m not mistaken, do you by any chance know the Windows CMD or PowerShell equivalent??
how do i fix my guns not showing up? I can put food, drugs and other stuff in my apartments inv but when i put a gun it takes it away from me and it wont show up in the apartment inv? I have no errors in my console either its all installed correctly i think.
Hi, I have a small bug on my server with this script. All the properties are the same even tho i can chose multiple model from the list. When inside one apartment if u can my view or go into no clip the interior will chnage. Here is a small video of that problem. Is there somekind of way to fix this ?
TriggerEvent('esx_datastore:getDataStore', 'property', xPlayer.identifier, function(store)
local storeWeapons = store.get('weapons') or {}
end)
By:
TriggerEvent('esx_datastore:getDataStore', 'property', xPlayer.identifier, function(store)
local storeWeapons = store.get('weapons')
if storeWeapons ~= nil then
weapons = storeWeapons
end
end)