Critico
Sexy
- Joined
- Mar 25, 2010
- Messages
- 370
- Reaction score
- 179
not work this script
can use this parameter in onDeath ?
Code:
function onDeath(cid, corpse, killer, mostDamageKiller)
local monstName = "Troll"
if isMonster(cid) and string.lower(getCreatureName(cid)) == string.lower(monstName) then
doBroadcastMessage("Player: "..getPlayerByName(mostDamageKiller[1]))
end
return true
end
can use this parameter in onDeath ?