AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   remove task (https://forums.alliedmods.net/showthread.php?t=206184)

ironskillz1 01-19-2013 12:35

remove task
 
can i somehow remove this task?

Code:

public CountDown()
{
 set_task( 4.0, "CountDown1")
}
public CountDown1()
{
 g_iCountTime = CountSeconds;
 set_task( 1.0, "Count" , _ , _ , _ , "a" , g_iCountTime ); // THIS COUNT TASK
 set_task( 62.0, "GO")
}
public Count()
{       
 set_dhudmessage( 1000, 160, 0, -1.0, 0.25, 2, 6.0, 0.1, 0.1, 1.5 ); 
 show_dhudmessage( 0 , "[%d]" , g_iCountTime-- );
 
}


hleV 01-19-2013 13:14

Re: remove task
 
Code:
remove_task(); remove_task();

ironskillz1 01-19-2013 13:33

Re: remove task
 
Working Thanks


All times are GMT -4. The time now is 13:40.

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