From 9c818ecd02c9924a4c48c17a5ae1037c479b9703 Mon Sep 17 00:00:00 2001 From: Kakarot <57848836+GhzGarage@users.noreply.github.com> Date: Tue, 22 Mar 2022 22:52:27 -0500 Subject: [PATCH] Update natives --- client/events.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/events.lua b/client/events.lua index 9a465bf..537513a 100644 --- a/client/events.lua +++ b/client/events.lua @@ -120,9 +120,9 @@ local function Draw3DText(coords, str) SetTextProportional(1) SetTextOutline() SetTextCentre(1) - SetTextEntry("STRING") - AddTextComponentString(str) - DrawText(worldX, worldY) + BeginTextCommandDisplayText("STRING") + AddTextComponentSubstringPlayerName(str) + EndTextCommandDisplayText(worldX, worldY) end end