Skip to content

Commit e7152f0

Browse files
committed
RedM: Change subtitle font and position.
1 parent 28208b8 commit e7152f0

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

MenuAPI/Menu.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1279,7 +1279,9 @@ internal async void Draw()
12791279
float size = (14f * 27f) / MenuController.ScreenHeight;
12801280
Call(SET_TEXT_SCALE, size, size);
12811281
Call(SET_TEXT_CENTRE, true);
1282-
Call(_DRAW_TEXT, Call<long>(_CREATE_VAR_STRING, 10, "LITERAL_STRING", MenuSubtitle ?? "N/A"), x, y - (55f / MenuController.ScreenHeight));
1282+
int font = 9;
1283+
Call((CitizenFX.Core.Native.Hash)0xADA9255D, font);
1284+
Call(_DRAW_TEXT, Call<long>(_CREATE_VAR_STRING, 10, "LITERAL_STRING", MenuSubtitle ?? "N/A"), x, y - (52f / MenuController.ScreenHeight));
12831285
SetScriptGfxDrawOrder(1);
12841286
}
12851287
#endif

TestMenu/ExampleMenu.cs

Lines changed: 1 addition & 1 deletion
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;

0 commit comments

Comments
 (0)