Skip to content

Add ability to show/hide radar components #4331

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MegadreamsBE
Copy link
Member

Resolves #4247

This PR updates setPlayerHudComponentVisible adding three new components:
radar_map (the rendered map on the radar)
radar_blips (blips on the radar, including "North", and your player blip)
radar_altimeter (altimeter shown in aircraft)

Backwards compatible with older client versions. When used on a newer server, but with an older client, the package with the new IDs in the enum are ignored. I tested this thoroughly. This is also why I added two missing items server-side (which are available client-side), which remain unusable there.

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.

Split radar component of setPlayerHudComponentVisible into more components
4 participants