Skip to content

Commit 77c2f2b

Browse files
committed
RedM: Change item text font.
1 parent bd0b7f8 commit 77c2f2b

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

MenuAPI/items/MenuItem.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using System;
1+
using System;
22
using System.Collections.Generic;
33
using System.Linq;
44
using System.Text;
@@ -1106,9 +1106,8 @@ internal virtual void Draw(int indexOffset)
11061106
float textMinX = ((8f + textXOffset) / MenuController.ScreenWidth) + (10f / MenuController.ScreenWidth);
11071107
float textMaxX = (Width - 10f) / MenuController.ScreenWidth;
11081108
float textY = y - ((30f / 2f) / MenuController.ScreenHeight);
1109-
1110-
1111-
//SetTextWrap(textMinX, textMaxX);
1109+
font = 23;
1110+
Call((CitizenFX.Core.Native.Hash)0xADA9255D, font);
11121111

11131112
Call(_DRAW_TEXT, Call<long>(_CREATE_VAR_STRING, 10, "LITERAL_STRING", (Text ?? "N/A") + (" " + Label ?? "")), textMinX, textY);
11141113
if (MenuController.MenuButtons.ContainsKey(this))

0 commit comments

Comments
 (0)