Ui::setRadarBigmapEnabled

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Toggles the big minimap state like in GTA:Online.

Syntax

mp.game.ui.setRadarBigmapEnabled(toggleBigMap, showFullMap);

Required Arguments

  • toggleBigMap: Boolean
  • showFullMap: Boolean

Return value

  • Undefined

Example

mp.events.add('render', () => {
    if (mp.keys.isDown(0x47) === true) { // key 'G' is down
        mp.game.ui.setRadarBigmapEnabled(true, false);
    } else {
        mp.game.ui.setRadarBigmapEnabled(false, false);
    }
});

See also