Skip to content

Commit

Permalink
client: add compat drawing utils
Browse files Browse the repository at this point in the history
  • Loading branch information
xLuxy committed Oct 14, 2023
1 parent f9e262d commit 14f6db7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/js/compatibility/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,11 @@ class Utils extends SharedUtils {

static Keybind = Keybind;
static Marker = Marker;

static drawText2dThisFrame = alt.Drawing.drawText2dThisFrame;
static drawText2d = alt.Drawing.drawText2d;
static drawText3dThisFrame = alt.Drawing.drawText3dThisFrame;
static drawText3d = alt.Drawing.drawText3d;
}

cppBindings.registerCompatibilityExport("Utils", Utils);
Expand Down

0 comments on commit 14f6db7

Please sign in to comment.