isso eu não resolvo trocando akele itemid que vc mandou trocar... ? ou vai bugar o script?
doTransformItem(item.uid, item.itemid+1)
elseif item.uid == 7333 and item.itemid == 1946 then <AKI MUDANDO PRA 1945
A PROPÓSITO FUNCIONOU SLICER... MUITO OBRIGADO!!






info
Grupo: Príncipe
Registrado: 19/08/10
Posts: 4k
Reputação: +1.1k
Gênero: Masculino
achu q achei o problema...
tente assim...
local posis = { --pos inicial dos players { {x=1495, y=1571, z=8} }, { {x=1495, y=1575, z=8} }, { {x=1497, y=1573, z=8} }, { {x=1493, y=1573, z=8} }, } local TOPOS = { --pos pra onde os players seram levados { {x=1495, y=1571, z=9} }, { {x=1495, y=1575, z=9} }, { {x=1497, y=1573, z=9} }, { {x=1493, y=1573, z=9} }, } local stos = {181630, 181631, 181632, 181633, 181634, 181635, 181636, 181637, 181638} function onUse(cid, item, frompos, item2, topos) local players = {} if item.uid == 7333 and item.itemid == 1945 then for i = 1, #posis do local pid = getTopCreature(posis[i][1]) if pid and isPlayer(pid.uid) and getPlayerStorageValue(pid.uid, 71000) == -1 then for a = 1, #stos do if getPlayerStorageValue(pid.uid, stos[a]) >= 1 then doPlayerSendTextMessage(cid, 27, "msg aki")--caso algum dos players n tenha uma das storages q tu queria return true end end table.insert(players, pid.uid) else doPlayerSendTextMessage(cid, 27, "É preciso pelo menos ".. #posis .." players para fazer essa quest ou alguem do seu time ja fez essa quest!") return true end end for i = 1, #players do doSendMagicEffect(posis[i][1], 2) doTeleportThing(players[i], TOPOS[i][1]) doSendMagicEffect(TOPOS[i][1], 10) end doTransformItem(item.uid, item.itemid+1) elseif item.uid == 7333 and item.itemid == 1946 then if getPlayerAccess(cid) > 0 then doTransformItem(item.uid, item.itemid-1) else doPlayerSendCancel(cid, "Sorry, not possible.") end end return true endeu soh n intendi quem eh q vai transformar a alavanca de volta... ;x