Jump to content

Aprenda A Fazer Novas Quests


Rafix

Recommended Posts

Simples, aonde voce colocar o bau no map editor, dai eh soh vc coloca o numero da sua quest no ACTION e UNIQUE id , exemplo:

 

Action id : 5024          Unique id: 5024

 

Entendeu agora?

Link to comment
Share on other sites

  • 1 year later...
  • 3 weeks later...
cara otimo tutorial. parabéns

isso é bem facil de aprender mas o q estou tentando configurar é um nova anihi , q vai 8 pessoas e puxa a alavanca mas n to conseguindo =/ c souber post ae plx to atras disso , quase deu certo mas na hora da alavanca deu bug de fechar o serv. =/

 

 

Manow Isso e Muito Simples Vai >C:\Ot\data\actions\scripts > Procura (annilever) entra em editar vai esta assin\/

 

-- annihilator lever

 

function onUse(cid, item, frompos, item2, topos)

 

if item.uid == 7000 and item.itemid == 1945 then

player1pos = {x=500, y=755, z=9, stackpos=253}

player1 = getThingfromPos(player1pos)

 

player2pos = {x=499, y=755, z=9, stackpos=253}

player2 = getThingfromPos(player2pos)

 

player3pos = {x=498, y=755, z=9, stackpos=253}

player3 = getThingfromPos(player3pos)

 

player4pos = {x=497, y=755, z=9, stackpos=253}

player4 = getThingfromPos(player4pos)

 

 

if player1.itemid > 0 and player2.itemid > 0 and player3.itemid > 0 and player4.itemid > 0 then

queststatus1 = getPlayerStorageValue(player1.uid,7000)

queststatus2 = getPlayerStorageValue(player2.uid,7000)

queststatus3 = getPlayerStorageValue(player3.uid,7000)

queststatus4 = getPlayerStorageValue(player4.uid,7000)

 

if queststatus1 == -1 and queststatus2 == -1 and queststatus3 == -1 and queststatus4 == -1 then

nplayer1pos = {x=500, y=755, z=10}

nplayer2pos = {x=499, y=755, z=10}

nplayer3pos = {x=498, y=755, z=10}

nplayer4pos = {x=497, y=755, z=10}

 

AGORA OLHA PRA 8 Pessoas

 

-- annihilator lever

 

function onUse(cid, item, frompos, item2, topos)

 

if item.uid == 7000 and item.itemid == 1945 then

player1pos = {x=500, y=755, z=9, stackpos=253}

player1 = getThingfromPos(player1pos)

 

player2pos = {x=499, y=755, z=9, stackpos=253}

player2 = getThingfromPos(player2pos)

 

player3pos = {x=498, y=755, z=9, stackpos=253}

player3 = getThingfromPos(player3pos)

 

player4pos = {x=497, y=755, z=9, stackpos=253}

player4 = getThingfromPos(player4pos)

 

player5pos = {x=496, y=755, z=9, stackpos=253}

player5 = getThingfromPos(player4pos)

 

player6pos = {x=495, y=755, z=9, stackpos=253}

player6 = getThingfromPos(player4pos)

 

player7pos = {x=494, y=755, z=9, stackpos=253}

player7 = getThingfromPos(player4pos)

 

player8pos = {x=493, y=755, z=9, stackpos=253}

player8 = getThingfromPos(player4pos)

 

 

if player1.itemid > 0 and player2.itemid > 0 and player3.itemid > 0 and player4.itemid > 0 then

queststatus1 = getPlayerStorageValue(player1.uid,7000)

queststatus2 = getPlayerStorageValue(player2.uid,7000)

queststatus3 = getPlayerStorageValue(player3.uid,7000)

queststatus4 = getPlayerStorageValue(player4.uid,7000)

queststatus5 = getPlayerStorageValue(player5.uid,7000)

queststatus6 = getPlayerStorageValue(player6.uid,7000)

queststatus7 = getPlayerStorageValue(player7.uid,7000)

queststatus8 = getPlayerStorageValue(player8.uid,7000)

 

if queststatus1 == -1 and queststatus2 == -1 and queststatus3 == -1 and queststatus4 == -1 then

nplayer1pos = {x=500, y=755, z=10}

nplayer2pos = {x=499, y=755, z=10}

nplayer3pos = {x=498, y=755, z=10}

nplayer4pos = {x=497, y=755, z=10}

nplayer5pos = {x=496, y=755, z=10}

nplayer6pos = {x=495, y=755, z=10}

nplayer7pos = {x=494, y=755, z=10}

nplayer8pos = {x=493, y=755, z=10}

 

Olha Isso ai vai dar pra voce ter uma noçao como funciona.....falow's ai :hi:

 

mais se voce ja fez isso o erro dever em actions...

Edited by Railson_sk
Link to comment
Share on other sites

×
×
  • Create New...