Hi i need help with this plugin. Plugin you freeze until the end of deduction, but dont work freeze

Please help.
PHP Code:
#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <cstrike>
#include <fun>
#include <fakemeta>
#include <engine>
new timer
new bool: countdownon
public plugin_init()
{
register_plugin("Naskok","1.0","Risontek")
register_logevent("odpocet", 2, "1=Round_Start")
}
public odpocet(id)
{
if(!countdownon)
{
timer = 5
countdownon = true
countdown_start(id)
if(get_user_team(id) == 1)
{
set_pev(id, pev_flags, pev(id, pev_flags) | FL_FROZEN)
}
}
}
public countdown_start(id)
{
if(timer >= 0)
{
if(timer == 0)
{
countdownon = false
if(get_user_team(id) == 1)
{
set_pev(id, pev_flags, pev(id, pev_flags) & ~FL_FROZEN)
}
return PLUGIN_HANDLED
}
set_hudmessage(0, 255, 0, -1.0, 0.30, 0, 1.0, 1.0)
show_hudmessage(0, "Anti-Furien have a head start: %i", timer)
timer--
set_task(1.0, "countdown_start")
}
return PLUGIN_CONTINUE
}
__________________