I assume that currently, that as soon as the turret sees a player it checks whether he is T or CT and decides to shoot or not, but it would be cool to make so that it checks player's id and decides to kill this player or not.
Regards,
J.
addhook("second","turret") function turret() 	if (object(12,"exists") and object(12,"target") ~= 0 and object(12,"target") ~= object(12,"player")) then 		local id = object(12,"target") 		if (player(id,"health")+10)>10 then 			parse("sethealth "..id.." "..player(id,"health")-10) 		else 			parse("customkill "..id.." Turret "..id) 		end 	end end
addhook("objectdamage","nodamage") function nodamage() 	return 1 end