Raised This Month: $ Target: $400
 0% 

Hud message problem.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ƒa†es™
Senior Member
Join Date: May 2009
Location: Garena
Old 08-16-2009 , 09:30   Re: Hud message problem.
Reply With Quote #9

Quote:
Originally Posted by One View Post
if ( is_user_alive( id ) )
{

set_task( 1.0, "ShowHUD")
}

public ShowHUD( id )
{
set_hudmessage( 200,200, 200, 0.75, 0.92, 0, 1.0, 1.1, 0.0, 0.0, -1 )
show_hudmessage( id, "Rampage cooldown: %d", get_pcvar_num( Cooldown ) )

}
Sorry it didn't show the hudmessage forever. only once.

I try this :

PHP Code:
set_task1.0"ShowHUD"id__"a"get_pcvar_numCooldown ) )
 
public 
ShowHUDid )
{
 if ( 
is_user_aliveid ) )
 {
  
set_hudmessage2002002000.750.9201.01.10.00.0, -)
  
show_hudmessageid"Rampage cooldown: %d"get_pcvar_numCooldown) )
 }
 
 else
 { 
  
remove_taskid )
 }

It work. but the hudmessage cooldown show 35. How can i make it decrease like 5,4,3,2,1 ??

I also try this :

PHP Code:
  show_hudmessageid"Rampage cooldown: %f\d"get_pcvar_numCooldown ) - ( get_gametime( ) - g_cooldownid ] ) ) 
The hudmessage show alot of digt like 1512321511 ??

How can i make the set task forever ?

How can i make the digt less like 35,34,32,31 ??
__________________

Last edited by ƒa†es™; 08-16-2009 at 09:38.
ƒa†es™ is offline
 



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 15:11.


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