Set screen location of every NativeUI to new Point(0, screenRes.y / 3)
This commit is contained in:
@@ -9,6 +9,7 @@ const Point = NativeUI.Point;
|
||||
const ItemsCollection = NativeUI.ItemsCollection;
|
||||
const Color = NativeUI.Color;
|
||||
const ListItem = NativeUI.ListItem;
|
||||
var screenRes = mp.game.graphics.getScreenResolution(0, 0);
|
||||
|
||||
import moneyFormat from '../moneyformat';
|
||||
|
||||
@@ -44,7 +45,7 @@ export default function carDealer(globalData: IGlobalData) {
|
||||
var veh = mp.players.local.vehicle;
|
||||
if (!veh) return;
|
||||
mp.gui.chat.show(false);
|
||||
shopMenu = new Menu("Fahrzeugkauf", "Kaufe ein neues Fahrzeug", new Point(50, 50), null, null);
|
||||
shopMenu = new Menu("Fahrzeugkauf", "Kaufe ein neues Fahrzeug", new Point(0, screenRes.y / 3), null, null);
|
||||
|
||||
globalData.InMenu = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user