Quote:
Originally Posted by Stressful
I tried that but the plugin just skip the task . And when I swap their places , The task just keep repeating and repeating the same thing .
PHP Code:
{
if(g_flTask[id] <= get_gametime()) { g_bTask[id] = false;
// task done; } if(!g_bTask[id]) return; }
|
You have tried the worst code that has been given.
drekes code will telle you if a task is finished or hasn't been launched yet.
Devil259 code is little better.
If you understand both codes, you can do something ok.
fl0werD's code is the exact example of what you must NOT do.
__________________