Hud message problem.
Does anyone know what wrong with my hud message ?
PHP Code:
But in the game it show 1501201510 Can someone fix this ?. |
Re: Hud message problem.
%d : integer
%f : float You could use %.1f so you would whod only 1 decimal Of use %d with get_pcvar_NUM |
Re: Hud message problem.
Quote:
PHP Code:
The Cooldown stuck at 35 second. So how do i make it like it is decreasing. ? like 5, 4, 3, 2, 1 |
Re: Hud message problem.
Use set_task with the "a" flags.
|
Re: Hud message problem.
Quote:
PHP Code:
|
Re: Hud message problem.
If you use "a", you have to provide a number to say how many times you want to repeat. http://www.amxmodx.org/funcwiki.php?...task&go=search
|
Re: Hud message problem.
Quote:
I want it remain when the user is alive. I want it remove when the user is dead. remove_task( id ) |
Re: Hud message problem.
Quote:
Quote:
Quote:
|
Re: Hud message problem.
Quote:
{ 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 ) ) } |
Re: Hud message problem.
Quote:
I try this : PHP Code:
I also try this : PHP Code:
How can i make the set task forever ? How can i make the digt less like 35,34,32,31 ?? |
| All times are GMT -4. The time now is 15:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.