Describe the bug
It is impossible to Give a Key outside of a Property.
Logically this isnt the biggest "issue" but.
You still have the Option to give a Key outside. If you press the Button you receive several server-errors.
To Reproduce
Steps to reproduce the behavior:
Go to 'any (outside) Position of a House with a second player'
Click on 'Key-Management and Give Key'
See theres nothing happen
See errors serverside (property/server)
Expected behavior
If Possible to Give a Key outside of a Property -> it should work
Otherwise (ist more logically) hide the Option to Give a Key while outside of a property, to avoid server-errors:
[ script:esx_property] SCRIPT ERROR: @esx_property/server/main.lua:762: attempt to index a nil value (field '?')
[ script:esx_property] > TriggerServerCallback (@es_extended/server/functions.lua:167)
[ script:esx_property] > handler (@es_extended/server/common.lua:112)
[ script:es_extended] SCRIPT ERROR: error object is not a string
Screenshots
Not possible atm
Debug Info (please complete the following information):
OS: ( Windows)
FiveM Artifact latest recommended
ESX Version: 1.8.5
Additional Context:
I already tried the Optimizations from Mycroft in his PR`s - but its not a solution. If i apply his code - esx_property is complete broken
Describe the bug It is impossible to Give a Key outside of a Property. Logically this isnt the biggest "issue" but.
You still have the Option to give a Key outside. If you press the Button you receive several server-errors.
To Reproduce Steps to reproduce the behavior:
Expected behavior If Possible to Give a Key outside of a Property -> it should work Otherwise (ist more logically) hide the Option to Give a Key while outside of a property, to avoid server-errors:
[ script:esx_property] SCRIPT ERROR: @esx_property/server/main.lua:762: attempt to index a nil value (field '?') [ script:esx_property] > TriggerServerCallback (@es_extended/server/functions.lua:167) [ script:esx_property] > handler (@es_extended/server/common.lua:112) [ script:es_extended] SCRIPT ERROR: error object is not a string
Screenshots Not possible atm
Debug Info (please complete the following information):
Additional Context: I already tried the Optimizations from Mycroft in his PR`s - but its not a solution. If i apply his code - esx_property is complete broken