Eu queria saber como fazer a alavanca funcionar pois a alavanca da minha quest nao funciona e queria saber como arrumar
REP + SE AJUDEI
Eu queria saber como fazer a alavanca funcionar pois a alavanca da minha quest nao funciona e queria saber como arrumar
REP + SE AJUDEI
Poderia especificar mais?
de que quest se trata?
como é o script dessa alavanca?
etc, etc
Aguardo.
Da quest anihilator anihilator
eu boto 4 pesoa e puxo a alavanca e nao aconteçe nada
o certo seria eu puxa a alavanca e i pro otro lado
REP + SE AJUDEI
Posta o script da msm para podermos dar uma olhada!
Eu nao sei onde tA O script
REP + SE AJUDEI
Provavelmente deve star em datata/actions/scripts
Achei
local playerPosition ={
{x = 247, y = 659, z = 13, stackpos = STACKPOS_TOP_CREATURE},
{x = 247, y = 660, z = 13, stackpos = STACKPOS_TOP_CREATURE},
{x = 247, y = 661, z = 13, stackpos = STACKPOS_TOP_CREATURE},
{x = 247, y = 662, z = 13, stackpos = STACKPOS_TOP_CREATURE}
}
local newPosition =
{
{x = 189, y = 650, z = 13},
{x = 189, y = 651, z = 13},
{x = 189, y = 652, z = 13},
{x = 189, y = 653, z = 13}
}
-- Do not modify the declaration lines below.
local player = {0, 0, 0, 0}
local failed = TRUE
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.itemid == 1945 then
for i = 1, 4 do
player = getThingfromPos(playerPosition)
if player.itemid > 0 then
if isPlayer(player.uid) == TRUE then
if getPlayerStorageValue(player.uid, 30015) == -1 then
if getPlayerLevel(player.uid) >= 100 then
failed = FALSE
end
end
end
end
if failed == TRUE then
doPlayerSendCancel(cid, "Sorry, not possible.")
return TRUE
end
failed = TRUE
end
for i = 1, 4 do
doSendMagicEffect(playerPosition, CONST_ME_POFF)
doTeleportThing(player.uid, newPosition, FALSE)
doSendMagicEffect(newPosition, CONST_ME_ENERGYAREA)
end
doTransformItem(item.uid, item.itemid + 1)
elseif item.itemid == 1946 then
doPlayerSendCancel(cid, "Sorry, not possible.")
end
return TRUE
end
REP + SE AJUDEI
voce colocou o storage na lavanca ?
pelo map editor ?
attr: [ADM] Zica
oque e storage,tipo eu so nb nesse negocio de action id unique id
REP + SE AJUDEI