Eaew!
seguinte.. eu estou tentando fazer uma quest tipo anihilator, esse script foi meio que copiado da anihilator e eu só modifiquei...
só que na hora que eu vou rodar o serv aparece erro que precisa colocar 'end' e cada hora eu coloco em um lugar e pede pra colocar em outro... aluguem que manja, eu peço que por favor, tem como dar uma revisada no script e ver no que eu estou errando?
Tbm preciso de outra ajuda!! como que eu coloco pra quando o player entrar e morrer.. nao perder level??tipo arena..
obgdo desde já
-- aztec lever
function onUse(cid, item, frompos, item2, topos)
if item.uid == 6000 and item.itemid == 1945 then
player1pos = {x=385, y=373, z=5, stackpos=253}
player1 = getThingfromPos(player1pos)
player2pos = {x=385, y=374, z=5, stackpos=253}
player2 = getThingfromPos(player2pos)
player3pos = {x=385, y=375, z=5, stackpos=253}
player3 = getThingfromPos(player3pos)
player4pos = {x=385, y=376, z=5, stackpos=253}
player4 = getThingfromPos(player4pos)
player5pos = {x=385, y=377, z=5, stackpos=253}
player5 = getThingfromPos(player5pos)
player6pos = {x=387, y=373, z=5, stackpos=253}
player6 = getThingfromPos(player6pos)
player7pos = {x=387, y=374, z=5, stackpos=253}
player7 = getThingfromPos(player7pos)
player8pos = {x=387, y=375, z=5, stackpos=253}
player8 = getThingfromPos(player8pos)
player9pos = {x=387, y=376, z=5, stackpos=253}
player9 = getThingfromPos(player9pos)
player10pos = {x=387, y=377, z=5, stackpos=253}
player10 = getThingfromPos(player10pos)
if player1.itemid > 0 and player2.itemid > 0 and player3.itemid > 0 and player4.itemid > 0 and player5.itemid > 0 and player6.itemid > 0 and player7.itemid > 0 and player8.itemid > 0 and player9.itemid > 0 and player10.itemid > 0 then
nplayer1pos = {x=397, y=374, z=5}
nplayer2pos = {x=397, y=375, z=5}
nplayer3pos = {x=397, y=376, z=5}
nplayer4pos = {x=397, y=377, z=5}
nplayer5pos = {x=397, y=378, z=5}
nplayer6pos = {x=401, y=374, z=5}
nplayer6pos = {x=401, y=375, z=5}
nplayer6pos = {x=401, y=376, z=5}
nplayer6pos = {x=401, y=378, z=5}
nplayer6pos = {x=401, y=379, z=5}
doSendMagicEffect(player1pos,2)
doSendMagicEffect(player2pos,2)
doSendMagicEffect(player3pos,2)
doSendMagicEffect(player4pos,2)
doSendMagicEffect(player5pos,2)
doSendMagicEffect(player6pos,2)
doSendMagicEffect(player7pos,2)
doSendMagicEffect(player8pos,2)
doSendMagicEffect(player9pos,2)
doSendMagicEffect(player10pos,2)
doTeleportThing(player1.uid,nplayer1pos)
doTeleportThing(player2.uid,nplayer2pos)
doTeleportThing(player3.uid,nplayer3pos)
doTeleportThing(player4.uid,nplayer4pos)
doTeleportThing(player5.uid,nplayer5pos)
doTeleportThing(player6.uid,nplayer6pos)
doTeleportThing(player7.uid,nplayer7pos)
doTeleportThing(player8.uid,nplayer8pos)
doTeleportThing(player9.uid,nplayer9pos)
doTeleportThing(player10.uid,nplayer10pos)
doSendMagicEffect(nplayer1pos,10)
doSendMagicEffect(nplayer2pos,10)
doSendMagicEffect(nplayer3pos,10)
doSendMagicEffect(nplayer4pos,10)
doSendMagicEffect(nplayer5pos,10)
doSendMagicEffect(nplayer6pos,10)
doSendMagicEffect(nplayer7pos,10)
doSendMagicEffect(nplayer8pos,10)
doSendMagicEffect(nplayer9pos,10)
doSendMagicEffect(nplayer10pos,10)
end
doTransformItem(item.uid,item.itemid+1)
else
doPlayerSendCancel(cid,"Somebody in your team has already done this quest.")
end
else
doPlayerSendCancel(cid,"Precisa de 10 lutadores.")
end
elseif item.uid ==6000 and item.itemid == 1946 then
if getPlayerAccess(cid) > 0 then
doTransformItem(item.uid,item.itemid-1)
doPlayerSendCancel(cid,"Sorry, not possible.")
end