From f70bd49fc080336db586988e7e9695aaf81a7ad7 Mon Sep 17 00:00:00 2001 From: Andyyy7666 <86536434+Andyyy7666@users.noreply.github.com> Date: Thu, 24 Mar 2022 21:30:42 +0100 Subject: [PATCH] Update main.lua --- ND_Core/source/client/main.lua | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ND_Core/source/client/main.lua b/ND_Core/source/client/main.lua index 2fba6de..82e73e4 100644 --- a/ND_Core/source/client/main.lua +++ b/ND_Core/source/client/main.lua @@ -309,7 +309,7 @@ if config.hideAmmoAndMoney or config.hideReticle or config.customPauseMenu or co EndScaleformMovieMethod() end end - if config.enablePriorityCooldown and priorityText then + if config.enablePriorityCooldown and priorityText and config.enablePriorityDefaulyHUD then text(priorityText, 0.182, 0.891, 0.4, 4) end end @@ -334,7 +334,8 @@ function getCharacterInfo(infoType) mainDepartment, cash, bank, - mainCharaterId + mainCharaterId, + priorityText } return mainCharacter[infoType] else @@ -349,7 +350,7 @@ function text(text, x, y, scale, font) SetTextEdge(1, 0, 0, 0, 255) SetTextDropShadow(0, 0, 0, 0,255) SetTextOutline() - SetTextJustification(1) + SetTextJustification(1) SetTextEntry("STRING") AddTextComponentString(text) DrawText(x, y)