EHI GUYS
i have aquestion for you
I'm using this lines of code to add my custom ammo counter
-----Add Ammo UI when Weapon is selected and disable Ammo UI when Weapon is not selected--------------
if g_PlayerGunAmmoCount<10 and g_PlayerGunName ~= "" then
TextColor(92,90,5,""..math.floor(g_PlayerGunAmmoCount),255,255,255)
TextColor(94,92,4,"/",209,209,209)
TextColor(95,92,4,""..math.floor(g_PlayerGunClipCount),184,184,184)
if g_PlayerGunAmmoCount>9 and g_PlayerGunName ~= "" then
TextColor(90,90,5,""..math.floor(g_PlayerGunAmmoCount),255,255,255)
TextColor(94,92,4,"/",209,209,209)
TextColor(95,92,4,""..math.floor(g_PlayerGunClipCount),184,184,184)
end
how can I add my weapon custom hud and how can I make ammo cound doesnt appear when player uses a melee weapon?
or simplier how can i transfer the standard "ammo and weapon hud" set on the left by default to the right of the screen? which is the script in GG taht hold these panels functions?
i know that for icon i need to create a new icon.png and pace it to the gun folder i want to change icon with my custom one , and set the statuspanelcode= 100 in the gunspec.txt in the same folder but how can i place the ammo and weapon status panel on the right of the screen?
PC 2 Specs:
AMD RYZEN 2600 SIX CORE @3,70, 64GB RAM DDR4 2400, M/B GIGABYTE AX370
SVGA NVDIA 1660GTX 6GB , SSD M.2 TRANSCEND S110 1TB, 1X HDD SEAGATE BARRACUDA 4TB, 1X HDD TOSHIBA 2TB
PC 2 Specs:
AMD QUADCORE 880K @4.5GHZ, 32GB RAM DDR3 1600, M/B ASUS A88XM-PLUS
SVGA RADEON R9 380 4GB , SSD KINGSTON A400 1TB, 2X HHD SEAGATE BARRACUDA 4TB
The author of this post has marked a post as an answer.
Go to answer