Untitled
unknown
lua
a year ago
627 B
2
Indexable
Never
local monstro = "Amon" -- nome do monstro local monstro2 = "Isis" -- nome do monstro local monstro3 = "Bastet" -- nome do monstro local NPC = "Osiris" -- nome do NPC local posnpc1 = {x = 400, y = 1790, z = 9} function onKill(cid, target, damage, flags) if getCreatureName(target) == monstro and monstro2 and monstro3 then setPlayerStorageValue(cid,20031,1) doPlayerSendTextMessage(cid,22,"You have emerged victorious, talk to osiris to see what future awaits you") doCreateNpc(NPC, posnpc1) end if getCreatureName(cid) == monstro then local pos = getCreaturePosition(cid) doRemoveCreature(cid) end return true end