Ok i cleaned the code a bit. Now its working.. but not as i want.
Im wondering how to detect if developer 1 is enabled. And if dev 1 is detected to start my set_task with curFps and slay after that

.
Any ideas ?
P.S: I have this code for detecting dev. But its incomplete i mean have just to set the "new" and some others..
If anyone can use this
Code:
public fwdPlayerPreThink_Pre(id)
{
static Float:last_check[33], Float:game_time;
static frames[33];
if(is_user_connected(id))
{
if(get_pcvar_num(check_dev) == 1)
{
game_time = get_gametime();
if(game_time - last_check[id] > 1.0)
{
if(checking_player[id] == 1)
{
console_cmd(id, "fps_max 1000")
if(check_dev_wait[id] == 0)
{
// if the player has more than 'check_fpslimit cvar' fps he will be using developer; frames[id] will be 100 on 99.99 fps
checking_dev_frames[id] = frames[id]-1
if(frames[id] > get_pcvar_num(check_fpslimit))
{
client_cmd(id, "snapshot")
developer_illegal_detected[id]++
}
check_dev_wait[id] = 1
}
}
else
console_cmd(id, "developer 0;fps_max 101")
frames[id] = 0
last_check[id] = game_time;
}
frames[id]++;
}
}
}
instead mine and on the set task to detect the CurFps[id] and slay when its detected >