1
Ayuda con Annihilator Quest Jue Oct 25, 2018 3:21 pm
Sorairei

Nuevo Miembro

Actualmente estoy usando un OT 11.49 - Otxserver - New-master
Este es el código de la puerta:
- Código:
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
if player:getStorageValue(Storage.AnnihilatorDone) ~= 1 then
if item.itemid == 5114 then
player:teleportTo(toPosition, true)
item:transform(item.itemid + 1)
end
else
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "The door seems to be sealed against unwanted intruders.")
end
return true
end
Se los agradecería mucho.