 |
|
Veteran Member
|

06-05-2010
, 20:02
Re: More effective timer than this?
|
#3
|
Quote:
Originally Posted by wrecked_
Code:
#define TASKID 1996
new iTimer = 90
public plugin_init()
{
set_task( 1.0, "TaskCount", TASKID, _, _, "b" )
}
public TaskCount()
{
set_hudmessage(255, 0, 0, -1.0, 0.0, 0, 6.0, 1.0)
show_hudmessage(id, "NightCrawlers: %i", iTimer--)
if( iTimer <= 0 )
{
remove_task( TASKID )
}
}
|
I should kill myself. I sat there for 30 minutes redoing what I posted about 130 times. Thanks.. do you have a fuckin rope?
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
|
|
|
|