I got it working! I guess by just changing the array size it mattered. Why did it? Neway...now I hav one more doubt.
Whenever a client joins the server, this task is set for him. But assuming a client disconnects before the time for execution is reached for the task...wat happens then?
If i use remove_task in client_disconnect(id), will it remove the task set for all players or for the particualr player who disconnected?