dopisuje to, a klasyczny hud nadal jest pod nowym
[code]function Start ()
showPlayerHudComponent("clock",false)
showPlayerHudComponent("money",false)
showPlayerHudComponent("health",false)
showPlayerHudComponent("armour",false)
showPlayerHudComponent("weapon",false)
showPlayerHudComponent("ammo",false)
showPlayerHudComponent("wanted",false)
showPlayerHudComponent("breath",false)
end
addEventHandler( "onClientResourceStart", rootElement, Start )
[/code]
[code]--[[
Skrypt zosta?‚ wykonany przez:
?€?NotPaladyn ([email protected]) (NotPaladyn#0477)
ZasĂłb napisany dla uĹĽytkownikĂłw forum GTAONLINE.PL
]]--
local sw,sh = guiGetScreenSize()
local baseX = 1920
local zoom = 1
local minzoom = 2
if sw < baseX then
zoom = math.min(minzoom, baseX/sw)
end
hud = {
isOpen = true,
money_icon = dxCreateTexture("images/money_icon.png", "argb", false, "clamp"),
rp_icon = dxCreateTexture("images/rp_icon.png", "argb", false, "clamp"),
font = dxCreateFont("fonts/Exo2-Light.ttf", 13),
health = {x=sw-215/zoom, y=30/zoom, w=200/zoom, h=4/zoom},
armor = {x=sw-215/zoom, y=60/zoom, w=200/zoom, h=4/zoom},
i_money = {x=sw-40/zoom, y=80/zoom, w=20/zoom, h=20/zoom},
t_money = {x=sw-215/zoom, y=80/zoom, w=s... |