function onKill(cid, target, lastHit)config = {NickBoss = "Ferumbras",StoragePorta = 666}if isMonster(target) then if getCreatureName(target) == config.NickBoss then setPlayerStorageValue(cid, config.StoragePorta, 1) doPlayerSendTextMessage(cid, 18, "'You defeated me..now you can open the door.") return true endendreturn trueend
Action da porta
function onUse(cid, item, fromPosition, itemEx, toPosition)if item.actionid == 666 thenif getPlayerStorageValue(cid, 666) ~= 1 thenreturn doPlayerSendTextMessage(cid, 27, "The door seems to be sealed against unwanted intruders.")endreturn trueend
Pergunta
gusinhi 4
Action da porta
Link para o comentário
Compartilhar em outros sites
7 respostass a esta questão
Posts Recomendados