Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] - esx_property- Issue #5

Open
Marc85BPG opened this issue Nov 27, 2022 · 0 comments
Open

[Bug] - esx_property- Issue #5

Marc85BPG opened this issue Nov 27, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Marc85BPG
Copy link

Marc85BPG commented Nov 27, 2022

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:

  1. Go to 'any (outside) Position of a House with a second player'
  2. Click on 'Key-Management and Give Key'
  3. See theres nothing happen
  4. 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

@Marc85BPG Marc85BPG added the bug Something isn't working label Nov 27, 2022
@CsokiHUN CsokiHUN transferred this issue from esx-framework/esx_core Jan 24, 2023
@TheFantomas TheFantomas moved this to Property - Mycroft in Tester's Project Boards Apr 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Property
Status: Property - Mycroft
Development

No branches or pull requests

2 participants