If you want, you can pass the player id as the task id. If no extra parameters are set, then the task id will be passed to the function. Example:
Code:
public function1(id)
{
set_task(5.0,"function2",id);
}
public function2(id)
{
// id in function2 is the same as in function1
}
But if you plan to have multiple tasks and also use the other task functions (change_task, task_exists, remove_task), then you should use unique task ids and instead pass the player id the way that wonsae showed you.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS