Skip to content

Improve the Migrating from Other Platforms page#583

Open
Gogsi wants to merge 2 commits into
citizenfx:masterfrom
Gogsi:server-setters
Open

Improve the Migrating from Other Platforms page#583
Gogsi wants to merge 2 commits into
citizenfx:masterfrom
Gogsi:server-setters

Conversation

@Gogsi
Copy link
Copy Markdown

@Gogsi Gogsi commented May 27, 2026

  • Detailed description of Server RPCs and Server setters with pros and cons
  • Add ox_lib Zones as an alternative to Polyzone
  • Add links to other relevant docs pages

Gogsi added 2 commits May 27, 2026 22:25
Expanded documentation on server-side vehicle creation and RPC entity creation
@Gogsi
Copy link
Copy Markdown
Author

Gogsi commented May 27, 2026

Open to feedback on the RPC/setter talk.

The code I have written for server setters is technically not enough to be 100% safe. As mentioned in the warning, if the owner migrates before the CVehicleAppearanceDataNode syncs, the changes will be lost. You would have to do something like qbx_core and monitor for if the changes successfully applied server-side , but I didn't want to make the example too large so I just added a warning. This code should work most of the time at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant