Raised This Month: $51 Target: $400
 12% 

Black hud message.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 05-20-2016 , 17:59   Black hud message.
Reply With Quote #1

I want to make the hud message in black color, but it doesn't works. Now, this is the code:

PHP Code:
// Spectating someone else?
    
if (id != ID_SHOWHUD)
    {
        
// Show name, health, class, and ammo packs and armor
        
set_dhudmessage(random(256),random(256),random(256), HUD_STATS_XHUD_STATS_Y06.01.10.00.0)
        
show_dhudmessage(ID_SHOWHUD"HP: %d || Class: %s || AP: %d || Armor: %d"pev(ID_SHOWHUDpev_health), class, g_ammopacks[ID_SHOWHUD], pev(ID_SHOWHUDpev_armorvalue))
    }    
    else
    {
        if (
g_zombie[ID_SHOWHUD]) // zombies
        
{
                     
// Show health, class and ammo packs and armor
            
set_dhudmessage(255,0,0HUD_STATS_XHUD_STATS_Y06.01.10.00.0)
            
show_dhudmessage(ID_SHOWHUD"HP: %d || Class: %s || AP: %d"pev(ID_SHOWHUDpev_health), class, g_ammopacks[ID_SHOWHUD])
        }
        else
        {
            
// Show health, class and ammo packs and armor
            
set_dhudmessage(255,0,255HUD_STATS_XHUD_STATS_Y06.01.10.00.0)
            
show_dhudmessage(ID_SHOWHUD"HP: %d || Armor: %d || Class: %s || AP: %d"pev(ID_SHOWHUDpev_health), pev(ID_SHOWHUDpev_armorvalue), class, g_ammopacks[ID_SHOWHUD])
        }
    }

What i did?

I changed this part from the code:

PHP Code:
set_dhudmessage(255,0,255HUD_STATS_XHUD_STATS_Y06.01.10.00.0
===>

PHP Code:
set_dhudmessage(0,0,0HUD_STATS_XHUD_STATS_Y06.01.10.00.0
But when you are in the server, you can't see the hud message... I mean that the message is invisible and it can't be seen! Can someone help me?

Last edited by GlobalPlague; 05-20-2016 at 18:01.
GlobalPlague is offline
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 05-20-2016 , 18:26   Re: Black hud message.
Reply With Quote #2

It's not possible
redivcram is offline
GlobalPlague
Senior Member
Join Date: Feb 2016
Location: Pluto
Old 05-20-2016 , 19:59   Re: Black hud message.
Reply With Quote #3

Quote:
Originally Posted by redivcram View Post
It's not possible
Maybe you are right.

Last edited by GlobalPlague; 05-20-2016 at 20:48.
GlobalPlague is offline
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 05-21-2016 , 08:30   Re: Black hud message.
Reply With Quote #4

I am absolutely right. HUD messages aren't just flat colors, they glow, therefore nothing black can glow.
redivcram is offline
Reply



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 12:34.


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