Skip to content

Commit

Permalink
Update c_debug.lua
Browse files Browse the repository at this point in the history
center texts
  • Loading branch information
Fernando-A-Rocha committed Aug 1, 2024
1 parent 5eab07a commit 98cfb3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion newmodels_reborn/scripts/optional/debug/c_debug.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 98cfb3d

Please sign in to comment.