From 98cfb3d38fe7d99544228932e3b1b4d3710c9a9f Mon Sep 17 00:00:00 2001 From: Fernando-A-Rocha Date: Thu, 1 Aug 2024 15:54:08 +0100 Subject: [PATCH] Update c_debug.lua center texts --- newmodels_reborn/scripts/optional/debug/c_debug.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/newmodels_reborn/scripts/optional/debug/c_debug.lua b/newmodels_reborn/scripts/optional/debug/c_debug.lua index a5df540..591ca72 100644 --- a/newmodels_reborn/scripts/optional/debug/c_debug.lua +++ b/newmodels_reborn/scripts/optional/debug/c_debug.lua @@ -89,7 +89,7 @@ local function drawDebug() local x, y, z = getElementPosition(element) local sx, sy = getScreenFromWorldPosition(x, y, z + 0.5) if sx and sy then - dxDrawText(customModelStr[1], sx, sy, 0, 0, customModelStr[2] or 0xFFFFFFFF, 1, "default") + dxDrawText(customModelStr[1], sx, sy, sx, sy, customModelStr[2] or 0xFFFFFFFF, 1, "default", "center") end end end