new g_czbot public client_putinserver(id) { new classname[32] pev(id, pev_classname, classname, 31) if (!equal(classname, "player") && !g_czbot) { set_task(0.1, "registerham_from_czbot", id) g_czbot = true } } public registerham_from_czbot(id) { RegisterHamFromEntity(Ham_TakeDamage, id, "fw_TakeDamage") RegisterHamFromEntity(Ham_Killed, id, "fw_PlayerKilled") }