And 2nd Question, how to get npc id's ? Example, i killed zombie, msg "Good", but when i kill headcrap then msg "Bad".
Really thanks guys for help.
addhook("objectkill","lol_expr") function lol_expr(idd,id) 	if object(idd,"typename")==Zombie then 		msg("lol@C") 	end end
addhook("objectkill","lol_expr") function lol_expr(idd,id) 	if object(idd,"typename")==Zombie then 		msg("lol@C") 	end end
addhook("objectkill","lol_expr") function lol_expr(idd,id) 	if object(idd,"player")==1 then 		msg("lol@C") 	end end