Quote:
Originally Posted by Arkshine
Use set_task with the "a" flags.
|
I did try using this :
PHP Code:
set_task( 1.0, "ShowHUD", id, _, _, "a" )
public ShowHUD( id )
{
if ( is_user_alive( 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 ) )
}
else
{
remove_task( id )
}
}
Still didn't work. the hudmessage didn't even appear.
__________________