Show your full code and I will tell you if it is correct.
I can tell you that the below code is incorrect because you are trying to use the variable "id" which does not exist. Only some situations require adding a player id to the task id so don't always assume it is needed.
PHP Code:
#define TASKID_LOL 100
public plugin_init() {
set_task(1.0, "LOL", TASKID_LOL+id)
}
__________________