Just try to change this:
PHP Code:
public Respawn_Player(id)
{
id-=TASK_RESPAWN
if (!is_user_connected(id))
return PLUGIN_HANDLED
if (((g_boolCanBuild || g_boolPrepTime) && cs_get_user_team(id) == CS_TEAM_CT) || cs_get_user_team(id) == CS_TEAM_T)
{
ExecuteHamB(Ham_CS_RoundRespawn, id)
//Loop the task until they have successfully spawned
if (!g_isAlive[id])
set_task(3.0,"Respawn_Human",id+TASK_RESPAWN)
}
return PLUGIN_HANDLED
}
--->
PHP Code:
public Respawn_Player(id)
{
id-=TASK_RESPAWN
if (!is_user_connected(id))
return PLUGIN_HANDLED
if (((g_boolCanBuild || g_boolPrepTime) && cs_get_user_team(id) == CS_TEAM_CT) || cs_get_user_team(id) == CS_TEAM_T)
{
ExecuteHamB(Ham_CS_RoundRespawn, id)
//Loop the task until they have successfully spawned
if (!g_isAlive[id])
{
set_task(3.0,"Respawn_Human",id+TASK_RESPAWN)
}
}
return PLUGIN_HANDLED
}