Update main.lua

This commit is contained in:
Andyyy7666
2022-03-24 21:30:42 +01:00
committed by GitHub
parent bef2488041
commit f70bd49fc0

View File

@@ -309,7 +309,7 @@ if config.hideAmmoAndMoney or config.hideReticle or config.customPauseMenu or co
EndScaleformMovieMethod() EndScaleformMovieMethod()
end end
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) text(priorityText, 0.182, 0.891, 0.4, 4)
end end
end end
@@ -334,7 +334,8 @@ function getCharacterInfo(infoType)
mainDepartment, mainDepartment,
cash, cash,
bank, bank,
mainCharaterId mainCharaterId,
priorityText
} }
return mainCharacter[infoType] return mainCharacter[infoType]
else else
@@ -349,7 +350,7 @@ function text(text, x, y, scale, font)
SetTextEdge(1, 0, 0, 0, 255) SetTextEdge(1, 0, 0, 0, 255)
SetTextDropShadow(0, 0, 0, 0,255) SetTextDropShadow(0, 0, 0, 0,255)
SetTextOutline() SetTextOutline()
SetTextJustification(1) SetTextJustification(1)
SetTextEntry("STRING") SetTextEntry("STRING")
AddTextComponentString(text) AddTextComponentString(text)
DrawText(x, y) DrawText(x, y)