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 , 05:50   Re: Hud message problem.
Reply With Quote #3

Quote:
Originally Posted by ConnorMcLeod View Post
%d : integer
%f : float


You could use %.1f so you would whod only 1 decimal


Of use %d with get_pcvar_NUM
I change to this:

PHP Code:
public ShowHUDid )
{
 if ( 
is_user_aliveid ) )
 {
  
set_hudmessage20010000.750.9201.01.10.00.0, -)
  
show_hudmessageid"Rampage Cooldown: %d"get_pcvar_numCooldown ) )
 }

It work. however didn't work correctly..

The Cooldown stuck at 35 second.

So how do i make it like it is decreasing. ? like 5, 4, 3, 2, 1
__________________
ƒ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