bigmap nicht wenn chat auf ist
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { GlobalData } from "..";
|
||||
|
||||
export default function bigmap() {
|
||||
var bigmap = { status: 0, timer: null };
|
||||
|
||||
@@ -9,7 +11,7 @@ export default function bigmap() {
|
||||
|
||||
mp.events.add("render", () => {
|
||||
mp.game.controls.disableControlAction(0, 48, true);
|
||||
if (mp.game.controls.isDisabledControlJustPressed(0, 48)) {
|
||||
if (mp.game.controls.isDisabledControlJustPressed(0, 48) && !GlobalData.InChat) {
|
||||
if (bigmap.status === 0) {
|
||||
mp.game.ui.setRadarZoom(0.0);
|
||||
bigmap.status = 1;
|
||||
|
||||
Reference in New Issue
Block a user