Quote:
Originally Posted by DarkGod
Remove the task and just call it in event_deathmsg : Code:
task_check_kills(killer)
You could instead change it to id so you don't have to change it all around.
|
to be it?
Code:
public event_deathmsg()
{
if(get_pcvar_num(cvar_enabled))
{
new killer = read_data(1)
set_task(1.0, "task_check_kills",128,_,_,"b")
g_detections[killer]++
}
}