Something like this ?
Code:
public forward_kill( id )
{
if( bKill[ id ] >= MAX_KILLS )
{
// bKill[ id ] = MAX_KILLS;
return FMRES_IGNORED;
}
if( ++bKill[ id ] == MAX_KILLS )
{
get_user_name( id, szName, charsmax( szName ) );
color_print( 0, "^3%s^1 has reached the number %d!", name, MAX_KILLS );
bKill[ id ] = MAX_KILLS;
}
return FMRES_IGNORED;
}
__________________