From 8e5e1ca093c303171e1c0a4b68cb7298540e20cd Mon Sep 17 00:00:00 2001 From: VegaZ Date: Mon, 12 Apr 2021 18:33:25 +0200 Subject: [PATCH] Clientside file --- .../Interaction/ammunation/ammunation.ts | 22 ++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/ReallifeGamemode.Client/Interaction/ammunation/ammunation.ts b/ReallifeGamemode.Client/Interaction/ammunation/ammunation.ts index 5f282702..b3ae2927 100644 --- a/ReallifeGamemode.Client/Interaction/ammunation/ammunation.ts +++ b/ReallifeGamemode.Client/Interaction/ammunation/ammunation.ts @@ -1 +1,21 @@ - \ No newline at end of file +import * as NativeUI from '../../libs/NativeUI'; + +const UIMenu = NativeUI.Menu; +const UIMenuItem = NativeUI.UIMenuItem; +const UIMenuListItem = NativeUI.UIMenuListItem; +const UIMenuCheckboxItem = NativeUI.UIMenuCheckboxItem; +const BadgeStyle = NativeUI.BadgeStyle; +const Point = NativeUI.Point; +const ItemsCollection = NativeUI.ItemsCollection; +const Color = NativeUI.Color; + +export default function ammunation(globalData: IGlobalData) { + + mp.events.add("AmmunationShop:LoadNativeUI") + + mp.gui.chat.activate(false); + globalData.InMenu = true; + + factionInteractionMenu = new Menu("Fraktionsinteraktion", userFactionName, new Point(0, screenRes.y / 3), null, null); + +}; \ No newline at end of file