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

Update SetMinimapComponent.md #932

Merged
merged 4 commits into from
Nov 20, 2023
Merged

Conversation

MadsLeander
Copy link
Contributor

Add more component id's, an example and make some minor adjustments.

Some images to "prove" that these new component id's are correct (areas toggled with hud colour 1; HUD_COLOUR_PURE_WHITE):
7: https://i.imgur.com/6jpbBR6.png
8 & 10: https://i.imgur.com/zsQMwer.png
11: https://i.imgur.com/UGxlhWO.png
12: https://i.imgur.com/FjDYQWW.png
13: https://i.imgur.com/tSrv2nc.png

Add more component id's, an example and make some minor adjustments.
HUD/SetMinimapComponent.md Outdated Show resolved Hide resolved
HUD/SetMinimapComponent.md Outdated Show resolved Hide resolved
HUD/SetMinimapComponent.md Outdated Show resolved Hide resolved
Copy link
Contributor

@4mmonium 4mmonium left a comment

Choose a reason for hiding this comment

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

A couple changes and it's good to go, check out my comments, thanks! 😊

Reverted back to ID instead of id, and correct the return value to state that it is hardcoded to return 1.

I'm going to leave the Any to int change as I think it would be better to specify it than not (However, I do see your point), if you desire it to be changed I'll do so.
Add info on componentID 9 and add information about what component IDs 6 through 14 are used for in the game.
@MadsLeander
Copy link
Contributor Author

I've gone over the requested changes and made some accommodations. On top of that, I added some additional info on componentID 9 and some general information about what componentIDs 6 through 14 are used for in the game. Thanks for reviewing the pull request so fast!

Slight corrections to the markdown, moved hud colors to parameters section.
Copy link
Contributor

@4mmonium 4mmonium left a comment

Choose a reason for hiding this comment

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

Approved, merging! 🙂

@4mmonium 4mmonium merged commit 9ce8cd9 into citizenfx:master Nov 20, 2023
1 check passed
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.

2 participants