It doesnt respawn the player at all and the blocks from the blockmaker im using are just solid and they do nothing. When I remove the set_task everything works just fine.

The TaskRespawn is working as supposed because Im using it when a player dies or gets killed so its not from it as you can see below:
PHP Code:
public TaskRespawn(plr)
{
// thanks GHW_Chronic & MeRcyLeZZ
set_pev(plr, pev_deadflag, DEAD_RESPAWNABLE);
dllfunc(DLLFunc_Think, plr);
}
I was just wondering why wouldn't the task spawn the player when he gets put in to my server and how should I do that?