Show definition of extra_timer and what is the value of EXTRA_CLIP. You are also using set_task incorrectly.
Something like this (untested)
PHP Code:
new Data[ 1 ] = { EXTRA_CLIP };
extra_timer[id][EXTRA_CLIP] = 40 // secs
check_timer( Data , id )
public check_timer( Data[ 1 ] , id )
{
new item = Data[ 0 ];
if ( --extra_timer[ id ][ item ] > 0 )
{
set_task( 1.0 , "check_timer" , id , Data , sizeof( Data ) )
}
else
{
extra_timer[ id ][ item ] = 0
}
}
__________________