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

fix(nui/PlayerModel): require OneSync for bring and goto #851

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

Mycroft-Studios
Copy link
Contributor

GetPlayerPed is only available on the server-side, if OneSync is enable - note that it works on both legacy and infinity. having onesync off, which result in an invalid entity, resulting in the target coords being 0,0,0.

note: untested, but should work just fine

GetPlayerPed is only available on the server-side, if OneSync is enable - note that it works on both legacy and infinity. having onesync off, which result in an invalid entity, resulting in the target coords being 0,0,0
@Mycroft-Studios Mycroft-Studios requested a review from tabarra as a code owner July 16, 2023 18:26
@tabarra tabarra added the bug Something isn't working label Sep 10, 2023
Copy link
Owner

@tabarra tabarra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to do anything, I'll take care of it when merging.
Just marking as change pending to make sure I see it.

@@ -77,7 +77,8 @@
"not_enabled": "The txAdmin Menu is not enabled! You can enable it in the txAdmin settings page.",
"announcement_title": "Server Announcement by %{author}:",
"directmessage_title": "DM from admin %{author}:",
"dialog_empty_input": "You cannot have an empty input."
"dialog_empty_input": "You cannot have an empty input.",
"onesync_error": "This option requires OneSync to be enabled."
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to future self: perhaps remove nui_menu.page_main.vehicle.onesync_error

@tabarra tabarra merged commit 5aca63a into tabarra:develop Feb 21, 2024
1 check failed
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
None yet
Development

Successfully merging this pull request may close these issues.

2 participants