Raised This Month: $ Target: $400
 0% 

New custom HUD Messages (CS:GO)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
e54385991
AlliedModders Donor
Join Date: Aug 2013
Old 07-07-2017 , 02:50   Re: New custom HUD Messages (CS:GO)
Reply With Quote #22

PHP Code:
            SM_HUDMSG_TextParamsEx(
            
0,  // CLIENT 0 = ALL
            
5,  // Channel
            
Float:{0.150.02}, //pos
            
{2552550255}, //Color1
            
{2552550255},   //Color2
            
2.0,  //float Holdtime
            
0,   //EFFECT
            
1.0//fxTime
            
0.0//fadeIn
            
0.0//fadeOut
            
"TEXT MSG");


void SM_HUDMSG_TextParamsEx(int iClient 0int iChannel 5float fPosition[2] = {-1.0,-1.0}, int iColor1[4] = {255128255255}, int iColor2[4] = {2550241255}, float fholdtime 1.0,int iEffect 1float fxTime 0.2float fadeIn 0.2float fFadeOutTime 5.0, const char[] szText)
{
    
SetHudTextParamsEx(
    
fPosition[0], //float x
    
fPosition[1], //float y,
    
fholdtime,  //float holdTime
    
iColor1//int color1[4]
    
iColor2//int color2[4]
    
iEffect//int effect
    
fxTime//float fxTime
    
fadeIn//float fadeIn
    
fFadeOutTime);//float fadeOut

    
    
if(iClient != 0)
    {    
        
ShowHudText(iClientiChannelszText);
    }
    else
    {
        for (
int i 1<= MaxClientsi++)
        {
            if(
IsClientInGame(i))
            {
                
ShowHudText(iiChannelszText);
            }
        }
    }


Last edited by e54385991; 08-22-2017 at 05:31.
e54385991 is offline
Send a message via ICQ to e54385991
 



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 22:40.


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