Closed JYNKZIE closed 2 years ago
This seems like you have a wrong format for the function on that line, you could show me what's on that line?
exports("RemoveZone", RemoveZone)
local function SetOptions(tbl, distance, options)
for _, v in pairs(options) do
if v.required_item then
v.item = v.required_item
v.required_item = nil
end
if not v.distance or v.distance > distance then v.distance = distance end
tbl[v.label] = v
end
end
443 would be tbl[v.label] = v
That could be from a few options, can you make sure all of your target options have a label property set?
within init, everything has a label set. not sure what my issue is xD i appreciate you !
Is this still an issue?
No I fixed it by redoing the entire list and updated the script. Thank you 🙏
On Apr 10, 2022, at 3:11 PM, BerkieBb @.***> wrote:
Is this still an issue?
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.
Describe the bug script error upon loading into the server after a restart
To Reproduce Steps to reproduce the behavior: -update qb-target -load into server after it starts up
Expected behavior cannot use atms nor shops, no shops seem to work
Screenshots