function onDeath(cid, corpse, deathList)
if(isPlayer(cid) == true) then
for _, pos in pairs(getArea(getCreaturePosition(cid), 0, 0)) do
doSendMagicEffect(pos, 65)
end
doCreatureSay(cid, getCreatureName(cid) .. " killed by " .. getCreatureName(deathList[1]) .. " [DEATH]", TALKTYPE_ORANGE_1)
end
return true
end
when player kill someone = effect and text
need Update this script to tfs 1.2
if(isPlayer(cid) == true) then
for _, pos in pairs(getArea(getCreaturePosition(cid), 0, 0)) do
doSendMagicEffect(pos, 65)
end
doCreatureSay(cid, getCreatureName(cid) .. " killed by " .. getCreatureName(deathList[1]) .. " [DEATH]", TALKTYPE_ORANGE_1)
end
return true
end
when player kill someone = effect and text
need Update this script to tfs 1.2