π New Release β Minimap Overlay & Lua Fixes
This update fixes a couple of typos in the Lua API and introduces the brand-new Minimap Overlay feature!
You can now add text overlays directly to your in-game map using ScaleformUI.
β¨ New Functions
MinimapOverlays:AddTextOverlayMinimapOverlays:UpdateTextOverlay
π Function Parameters
MinimapOverlays:AddTextOverlay
| Parameter | Type | Description |
|---|---|---|
label |
string |
The text to display. |
x |
number |
X coordinate in world format. |
y |
number |
Y coordinate in world format. |
fontSize |
number |
Font size (default: 13). |
alignment |
number |
Text alignment (0 = left, 1 = center, 2 = right). |
font |
string |
Font to use (default: $Font2). See in-game fonts list forum thread. |
outline |
boolean |
Whether to draw an outline around the text. |
shadow |
boolean |
Whether to draw a shadow behind the text. |
Returns: TextOverlay β The created overlay object.
- Same logic applies to C#
Screenshots:
