Skip to content

Commit

Permalink
RedM: Change item text font.
Browse files Browse the repository at this point in the history
  • Loading branch information
TomGrobbe committed Nov 20, 2019
1 parent bd0b7f8 commit 77c2f2b
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions MenuAPI/items/MenuItem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
Expand Down Expand Up @@ -1106,9 +1106,8 @@ internal virtual void Draw(int indexOffset)
float textMinX = ((8f + textXOffset) / MenuController.ScreenWidth) + (10f / MenuController.ScreenWidth);
float textMaxX = (Width - 10f) / MenuController.ScreenWidth;
float textY = y - ((30f / 2f) / MenuController.ScreenHeight);


//SetTextWrap(textMinX, textMaxX);
font = 23;
Call((CitizenFX.Core.Native.Hash)0xADA9255D, font);

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

0 comments on commit 77c2f2b

Please sign in to comment.