1
2
3
4
5
6
2
3
4
5
6
addhook("objectdamage", "on_objectdamage") function on_objectdamage(id, damage, player) 	if ((object(id, "player") == 1) and (player ~= 1)) then 		return 1 	end end
... other players cannot kill the zombies I spawn. However I can (same goes for my own buildings, as you can see in the script), and other NPCs are also killable as usual.