import { GlobalData } from ".."; export default function bigmap() { var bigMapActive = false; mp.game.ui.setRadarZoom(0.0); mp.game.ui.setRadarBigmapEnabled(false, false); mp.events.add("render", () => { mp.game.controls.disableControlAction(0, 48, true); if (mp.game.controls.isDisabledControlJustPressed(0, 48) && !GlobalData.InChat) { bigMapActive = !bigMapActive; mp.game.ui.setRadarBigmapEnabled(bigMapActive, false); } }); }