Raised This Month: $ Target: $400
 0% 

Hud Message question.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Salin
Member
Join Date: Nov 2007
Old 08-26-2008 , 14:52   Hud Message question.
Reply With Quote #1

I`ve tried to make some permanent texts that were showed only to the hltv. Being a client on a servere, everything was fine, it looked like it was there all the time. If i was connected to the hltv, i could saw the "holdtime" of the text. If i put it 0.5 it fade it out then reapper, so basically it was like a casino text that blinked over and over again. How can i make it so it won`t blink?

Here are the set_hudmessage params

Code:
set_hudmessage(0, 223, 223, 0.02, 0.34, 0, 0.0, 0.0, 0.01, 1.01, 2)
format(text, 255, "Test")
show_hudmessage(0, text)
Salin is offline
anakin_cstrike
Veteran Member
Join Date: Nov 2007
Location: Romania
Old 08-26-2008 , 16:11   Re: Hud Message question.
Reply With Quote #2

Hmmm...something like this :
PHP Code:
public plugin_init() 
{
    
register_plugin(PLUGINVERSIONAUTHOR);
    
set_task(2.0,"show",_,_,_,"b");
}
public 
show()
{
    new 
players[32],num,index,i;
    
get_players(players,num);
    for(
0;num;i++)
    {
        
index players[i];
        if(!
is_user_hltv(index))
            continue;
        
set_hudmessage(255255255, -1.00.1006.012.0)
        
show_hudmessage(index"message")
    }

__________________

anakin_cstrike is offline
Emp`
AMX Mod X Plugin Approver
Join Date: Aug 2005
Location: Decapod 10
Old 08-26-2008 , 19:13   Re: Hud Message question.
Reply With Quote #3

You should also look at HudSyncs

CreateHudSyncObj
ShowSyncHudMsg
Emp` is offline
Send a message via AIM to Emp` Send a message via MSN to Emp` Send a message via Yahoo to Emp` Send a message via Skype™ to Emp`
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 03:11.


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