1
2
3
4
5
6
7
2
3
4
5
6
7
addhook("objectkill","Collectables_objectkill_hook") function Collectables_objectkill_hook() 	if (entity("name") == "Col2") then 		Col2_Collected = Col2_Collected + 1 		parse('hudtxt, 2, "'..Col2_Collected..'", 32, 420, 3') 	end end
I've made another one of these scripts; this time for NPC kills.
I guess it's wrong at the entity part, idk what to write else. Info.txt says it has to be the objectid..?
edited 3×, last 05.01.12 04:34:48 pm