Raised This Month: $32 Target: $400
 8% 

[Req] Armor/Class/Health/Armor....etc HUD


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
KingSimon
Junior Member
Join Date: Aug 2017
Old 02-01-2018 , 20:00   [Req] Armor/Class/Health/Armor....etc HUD
Reply With Quote #1

Hi..

please can someone tell the settings of these pictures [HUD]
I want to know how to change the size

When Spectating.. //

prntscr.com/i86bn3

When Playing.. //

prntscr.com/i86ckc

Im using zpa1.6.1

PHP Code:
// Spectating someone else?

    
if (id != ID_SHOWHUD)

    {

        
// Show name, health, class, and ammo packs and armor

        
set_hudmessage(25510255HUD_SPECT_XHUD_SPECT_Y16.01.10.00.0, -1)

        
ShowSyncHudMsg(ID_SHOWHUDg_MsgSync2"%L %s^nHP: %d - %L %s - %L %d - %L %d"ID_SHOWHUD"SPECTATING"g_playername[id],

        
pev(idpev_health), ID_SHOWHUD"CLASS_CLASS", class, ID_SHOWHUD"AMMO_PACKS1"g_ammopacks[id], ID_SHOWHUD"ARMOR"pev(idpev_armorvalue))

    }

    else

    {

        
// Show health, class and ammo packs and armor

        
set_hudmessage(redgreenblueHUD_STATS_XHUD_STATS_Y06.01.10.00.0, -1)

        
ShowSyncHudMsg(ID_SHOWHUDg_MsgSync2"%L: %d - %L %s - %L %d - %L %d"id"ZOMBIE_ATTRIB1"pev(ID_SHOWHUDpev_health), ID_SHOWHUD"CLASS_CLASS",

        class, 
ID_SHOWHUD"AMMO_PACKS1"g_ammopacks[ID_SHOWHUD], ID_SHOWHUD"ARMOR"pev(ID_SHOWHUDpev_armorvalue)) 
and if you can make [ color , size ] and post it *
Thanks
KingSimon is offline
DjSoftero
Veteran Member
Join Date: Nov 2014
Location: Lithuania
Old 02-02-2018 , 04:41   Re: [Req] Armor/Class/Health/Armor....etc HUD
Reply With Quote #2

you can't change the size too much. there are only two options. small and somewhat big. The big one is somewhat complicated to use, because it doesn't have the option to remove the previous hud after showing a new one, so the messages will overlap each other. If you want to try it out then change the set_hudmessage to set_dhudmessage and ShowSyncHudMsg to show_dhudmessage and remove second argument from the show_dhudmessage. Which is g_MsgSync2.
The colors are the first 3 parameters: set_hudmessage(255, 10, 255 Red green blue. Write a number from 0 to 255 to every of these, to specify how much of the color you want. You can simply search "rgb color picker" in google, pick color and copy the numbers.
__________________
retired chump

Last edited by DjSoftero; 02-02-2018 at 04:45.
DjSoftero is offline
KingSimon
Junior Member
Join Date: Aug 2017
Old 02-02-2018 , 12:18   Re: [Req] Armor/Class/Health/Armor....etc HUD
Reply With Quote #3

Quote:
Originally Posted by DjSoftero View Post
you can't change the size too much. there are only two options. small and somewhat big. The big one is somewhat complicated to use, because it doesn't have the option to remove the previous hud after showing a new one, so the messages will overlap each other. If you want to try it out then change the set_hudmessage to set_dhudmessage and ShowSyncHudMsg to show_dhudmessage and remove second argument from the show_dhudmessage. Which is g_MsgSync2.
The colors are the first 3 parameters: set_hudmessage(255, 10, 255 Red green blue. Write a number from 0 to 255 to every of these, to specify how much of the color you want. You can simply search "rgb color picker" in google, pick color and copy the numbers.
I can use set_dhudmessage for Notice_info ? like notice_swarm
KingSimon is offline
KingSimon
Junior Member
Join Date: Aug 2017
Old 02-02-2018 , 12:44   Re: [Req] Armor/Class/Health/Armor....etc HUD
Reply With Quote #4

Thank you for helping me
KingSimon is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:19.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode