EvoSoft
Is Da Mapper
Code:
function onKill(cid, target, damage, flags)
if isPlayer(cid) then
if(isMonster(target)) then
if(string.lower(getCreatureName(target)) == "jaul") then
setPlayerStorageValue(cid, 524877, 1)
doCreatureSay(cid, "You can get your reward now.", TALKTYPE_ORANGE_1)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
end
end
if(isMonster(target)) then
if(string.lower(getCreatureName(target)) == "tanjis") then
setPlayerStorageValue(cid, 524878, 1)
doCreatureSay(cid, "You can get your reward now.", TALKTYPE_ORANGE_1)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
end
end
if(isMonster(target)) then
if(string.lower(getCreatureName(target)) == "obujos") then
setPlayerStorageValue(cid, 524879, 1)
doCreatureSay(cid, "You can get your reward now.", TALKTYPE_ORANGE_1)
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT)
end
end
end
return true
end
THANKS!