SetMinimapComponent — FiveM Natives
0x75A9A10948D1DEA6 · HUD · all
This native is used to colorize/toggle certain map components like the army base. Component IDs 6 through 14 are used by the freemode event King of the Castle in GTA Online. ### An incomplete list of component IDs: 0: Los Santos International Airport yellow runway markers 1: Sandy Shores Airfield yellow runway markers 2: McKenzie Field yellow runway markers 6: Vespucci Beach lifeguard building 7: Top level zone of Alien Camp (Hippy Camp) 8: Paleto Bay fire station drill tower 9 Land Act Dam tower 10 Pala Springs Aerial Tramway 11 Galileo Observatory power unit 12 Small zone (empty "interior") near Central Los Santos Medical Center 13 Richman Mansion grotto 14 2 Alien Camp (Hippy Camp) circles * 15 Fort Zancudo
Parameters
| Name | Type | Description |
|---|---|---|
| componentID | int | The component ID to change. |
| toggle | BOOL | True to enable/colorize, false to disable. |
| hudColor | int | The hudcolor index, the list of hud colors can be found [here](https://docs.fivem.net/docs/game-references/hud-colors/). |
Returns
int