tai
local playerPosition =
{
{x = 624, y = 632, z = 7, stackpos = STACKPOS_TOP_CREATURE},
{x = 620, y = 636, z = 7, stackpos = STACKPOS_TOP_CREATURE},
{x = 616, y = 632, z = 7, stackpos = STACKPOS_TOP_CREATURE},
{x = 620, y = 628, z = 7, stackpos = STACKPOS_TOP_CREATURE}
}
local newPosition =
{
{x = 606, y = 632, z = 7},
{x = 607, y = 632, z = 8},
{x = 608, y = 632, z = 8},
{x = 609, y = 632, z = 8}
}
-- Do not modify the declaration lines below.
local player = {0, 0, 0, 0}
local failed = FALSE
function onUse(cid, item, fromPosition, itemEx, toPosition)
for i = 1, 4 do
failed = TRUE
player[i] = getThingfromPos(playerPosition[i])
if player[i].itemid > 0 then
if isPlayer(player[i].uid) == TRUE then
if getPlayerStorageValue(player[i].uid, 9012) == -1 then
if getPlayerLevel(player[i].uid) >= 20 then
failed = FALSE
end
end
end
end
if failed == TRUE then
doPlayerSendCancel(cid, "Sorry, not possible.")
return TRUE
end
end
for i = 1, 4 do
doSendMagicEffect(playerPosition[i], CONST_ME_POFF)
doTeleportThing(player[i].uid, newPosition[i], FALSE)
doSendMagicEffect(newPosition[i], CONST_ME_ENERGYAREA)
end
doTransformItem(item.uid, item.itemid == 1945 and 1946 or 1945)
return true
end
vc deve ter achado o script assim pq no global só da p fazer anihi 1 team por dia




info
Grupo: Campones
Registrado: 28/11/10
Posts: 0
Reputação: 0
Char no Tibia: Kaosakuma
Tipo do script: Action
Nivel de experiencia: pequeno
protocolo:8.60
Styller yurots
Gente alguem pode ajudar ae pfpf
a alavanca n volta depois que da use nele alguem sabe arrumar? plz
Script: