1
2
3
4
5
6
7
8
9
10
11
2
3
4
5
6
7
8
9
10
11
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"))>=11 then
parse("sethealth "..id.." "..player(id,"health")-10)
else
parse("customkill "..id.." Turret "..id)
end
end
end
and why 12?
Lua Scripts/Questions/Help


Offline
good luck...
