function onKill(cid, target)
local targetMonster = Monster(target)
if not targetMonster then
return true
end
if targetMonster:getName():lower() ~= "gaz'haragoth" then
return true
end
local player = Player(cid)
local tpPos = {x=33715, y=32377, z=6}
doTeleportThing(cid, tpPos)
return true
end
local targetMonster = Monster(target)
if not targetMonster then
return true
end
if targetMonster:getName():lower() ~= "gaz'haragoth" then
return true
end
local player = Player(cid)
local tpPos = {x=33715, y=32377, z=6}
doTeleportThing(cid, tpPos)
return true
end
I need help with this script!
When you kill the "Boss" only the people who give the Last hit get teleported to the reward Room!
Someone can help me?
Need all people who Hit the boss get teleported to the reward room