Olá vamos aprender como fazer uma anihi para o seu ot Primeiro va em actions/scripts/procure anihisuper la terá
function onUse(cid, item, frompos, item2, topos)
if item.uid == 3841 then mude o 3841 para qual quer um
queststatus = getPlayerStorageValue(cid,3737)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Demon Legs.")
doPlayerAddItem(cid,2495,1)
setPlayerStorageValue(cid,3737,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 3842 then
queststatus = getPlayerStorageValue(cid,3737)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Helmet of the Ancients.")
doPlayerAddItem(cid,2343,1)
setPlayerStorageValue(cid,3737,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 3843 then
queststatus = getPlayerStorageValue(cid,3737)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Golden Boots.")
doPlayerAddItem(cid,2646,1)
setPlayerStorageValue(cid,3737,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 5009 then
queststatus = getPlayerStorageValue(cid,3737)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Thunder Hammer.")
doPlayerAddItem(cid,2421,1)
setPlayerStorageValue(cid,3737,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
else
return 0
end
return 1
end
Depois va em anihi350 la tera
-- annihilator level 350 lever
function onUse(cid, item, frompos, item2, topos)
if item.uid == 7100 and item.itemid == 1945 then
player1pos = {x=214, y=146, z=8, stackpos=253} Mude a position x y z para onde o player 1 vai
player1 = getThingfromPos(player1pos)
player2pos = {x=214, y=147, z=8, stackpos=253} mude a position x y z para onde o player 2 vai
player2 = getThingfromPos(player2pos)
player3pos = {x=214, y=148, z=8, stackpos=253} mude a position x y z para onde o player 3 vai
player3 = getThingfromPos(player3pos)
player4pos = {x=214, y=149, z=8, stackpos=253} mude a position x y z para onde o player 4 vai
player4 = getThingfromPos(player4pos)
if player1.itemid > 0 and player2.itemid > 0 and player3.itemid > 0 and player4.itemid > 0 then
queststatus1 = getPlayerStorageValue(player1.uid,7100)
queststatus2 = getPlayerStorageValue(player2.uid,7100)
queststatus3 = getPlayerStorageValue(player3.uid,7100)
queststatus4 = getPlayerStorageValue(player4.uid,7100)
if queststatus1 == -1 and queststatus2 == -1 and queststatus3 == -1 and queststatus4 == -1 then
nplayer1pos = {x=211, y=148, z=10}
nplayer2pos = {x=212, y=148, z=10}
nplayer3pos = {x=213, y=148, z=10}
nplayer4pos = {x=214, y=148, z=10}
doSendMagicEffect(player1pos,2)
doSendMagicEffect(player2pos,2)
doSendMagicEffect(player3pos,2)
doSendMagicEffect(player4pos,2)
doTeleportThing(player1.uid,nplayer1pos)
doTeleportThing(player2.uid,nplayer2pos)
doTeleportThing(player3.uid,nplayer3pos)
doTeleportThing(player4.uid,nplayer4pos)
doSendMagicEffect(nplayer1pos,10)
doSendMagicEffect(nplayer2pos,10)
doSendMagicEffect(nplayer3pos,10)
doSendMagicEffect(nplayer4pos,10)
doTransformItem(item.uid,item.itemid+1)
else
doPlayerSendCancel(cid,"Somebody in your team has already done this quest.")
end
else
doPlayerSendCancel(cid,"You need four players for this quest.")
end
elseif item.uid ==7100 and item.itemid == 1946 then
if getPlayerAccess(cid) > 0 then
doTransformItem(item.uid,item.itemid-1)
else
doPlayerSendCancel(cid,"Sorry, not possible.")
end
else
return 0
end
return 1
end
Agora salve va no mapper editor akela alavanca vc monta sua anihi de 4 pessoas dps
vc lembre do que vc mudo em
-- annihilator chests
function onUse(cid, item, frompos, item2, topos)
if item.uid == 3841 then << vc mudo o 3841 coloke oq vc mudo na alavanca no mapper editor
queststatus = getPlayerStorageValue(cid,3737)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Demon Legs.")
doPlayerAddItem(cid,2495,1)
setPlayerStorageValue(cid,3737,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 3842 then
queststatus = getPlayerStorageValue(cid,3737)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Helmet of the Ancients.")
doPlayerAddItem(cid,2343,1)
setPlayerStorageValue(cid,3737,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 3843 then
queststatus = getPlayerStorageValue(cid,3737)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Golden Boots.")
doPlayerAddItem(cid,2646,1)
setPlayerStorageValue(cid,3737,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 5009 then
queststatus = getPlayerStorageValue(cid,3737)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Thunder Hammer.")
doPlayerAddItem(cid,2421,1)
setPlayerStorageValue(cid,3737,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
else
return 0
end
return 1
end
visite meu ot otyour.servegam.com