lo que yo encontre:
1- lo que te dijo apuu
2- falto una llave y separaste parte del code del spec
PHP Code:
case 5: // Join Spectator
{
// If alive
if (is_user_alive(id))
{
// Check that we still have both humans and zombies to keep the round going
check_round(id)
// Kill him before he switches team
dllfunc(DLLFunc_ClientKill, id)
}
case 7: // Mute Menu
{
console_cmd( id, "say /mute")
}
// Temporarily save player stats?
if (get_pcvar_num(cvar_statssave)) save_stats(id)
// Remove previous tasks
remove_task(id+TASK_TEAM)
remove_task(id+TASK_MODEL)
remove_task(id+TASK_FLASH)
remove_task(id+TASK_CHARGE)
remove_task(id+TASK_SPAWN)
remove_task(id+TASK_BLOOD)
// Then move him to the spectator team
fm_set_user_team(id, CS_TEAM_SPECTATOR)
fm_set_user_team_msg(id+TASK_TEAM)
}
-->
PHP Code:
case 5: // Join Spectator
{
// If alive
if (is_user_alive(id))
{
// Check that we still have both humans and zombies to keep the round going
check_round(id)
// Kill him before he switches team
dllfunc(DLLFunc_ClientKill, id)
}
// Temporarily save player stats?
if (get_pcvar_num(cvar_statssave)) save_stats(id)
// Remove previous tasks
remove_task(id+TASK_TEAM)
remove_task(id+TASK_MODEL)
remove_task(id+TASK_FLASH)
remove_task(id+TASK_CHARGE)
remove_task(id+TASK_SPAWN)
remove_task(id+TASK_BLOOD)
// Then move him to the spectator team
fm_set_user_team(id, CS_TEAM_SPECTATOR)
fm_set_user_team_msg(id+TASK_TEAM)
}
case 7: // Mute Menu
{
console_cmd( id, "say /mute")
}
case 8: // Admin Menu
3- Agregale un return debajo de la linea 3777
-->
PHP Code:
}
return PLUGIN_HANDLED
}
es lo que encontre xD
__________________