Ir para conteúdo

9005540

Campones
  • Total de itens

    1
  • Registro em

  • Última visita

Tudo que 9005540 postou

  1. Mas cara eu fiz de tudo e aqui n da certo de jeito nenhum!! olha como ta minhas coisas: Script Depot Tiles! function onStepIn(cid, item, pos) if isPlayer(cid) then actionid = 101 if item.actionid > 100 and item.actionid < 125 then actionid = item.actionid end if actionid > 100 then if (getTilePzInfo(pos) == TRUE) then depotitems = getPlayerDepotItems(cid, actionid - 100) if depotitems == 1 then doPlayerSendTextMessage(cid, 23, 'Your depot contains 1 item.') else doPlayerSendTextMessage(cid, 23, 'Your depot contains '.. depotitems ..' items.') end end end end if item.itemid == 446 or item.itemid == 416 or item.itemid == 3216 then doTransformItem(item.uid, item.itemid+1) elseif item.itemid == 426 then doTransformItem(item.uid, 425) end end function onStepOut(cid, item, pos) if item.itemid == 447 or item.itemid == 417 or item.itemid == 3217 then doTransformItem(item.uid, item.itemid-1) elseif item.itemid == 425 then doTransformItem(item.uid, 426) end end Movements agora xml: <!-- Depot Tiles --> <movevent event="StepIn" actionid="101" script="depot tiles.lua" /> <movevent event="StepIn" itemid="446" script="depot tiles.lua" /> <movevent event="StepOut" itemid="447" script="depot tiles.lua" /> <movevent event="StepIn" itemid="425" script="depot tiles.lua" /> <movevent event="StepOut" itemid="426" script="depot tiles.lua" /> <movevent event="StepIn" itemid="416" script="depot tiles.lua" /> <movevent event="StepOut" itemid="417" script="depot tiles.lua" /> <movevent event="StepIn" itemid="3216" script="depot tiles.lua" /> <movevent event="StepOut" itemid="3217" script="depot tiles.lua" /> e agora oq faço??
  2. Eae gente, so novo aki, entaum pensei em por um script de !setvip, que por exemplo, quando você fala "!setvip" você paga "xx" e ganha itens escolhidos pelo hoster, vamo la: 1 passo: va no Data\Talkactions de seu server, copie um arquivo lua e renomeie para setvip, apague tudo que tem dentro e ponha isso: -- By: GOD Trasbueno -- function onSay(cid, words, param) if doPlayerRemoveMoney(cid, 10000000) == TRUE then local bag = doPlayerAddItem(cid, 10025, 1) doAddContainerItem(bag, 2474, 1) doAddContainerItem(bag, 2503, 1) doAddContainerItem(bag, 2504, 1) doAddContainerItem(bag, 2517, 1) doAddContainerItem(bag, 7457, 1) setPlayerStorageValue(cid, 30001, 1) doSendMagicEffect(getCreaturePosition(cid),13) doCreatureSay(cid, "Voce comprou o SetVip!", TALKTYPE_ORANGE_1) for i=1,20 do end else doPlayerSendCancel(cid, "Voce não tem 10kk para o SetVip.") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end end Na parte do "(cid, 10000000)" = O numero 100000000 é o preço! No do "addcontaineritem" é o id do item No 10025 é minha backpack (no meu caso demon backpack). 2 passo: va no talkactions.xml e ponha isso no lugar de players: <talkaction words="!setvip" script="setvip.lua"/> E Pronto! Se der errado Desculpe ou olhe se esta tudo certo, meu primero post. Flws Baseie isso no Script do !aol, foi só mudar algumas coisas! Dei uma editada, porque tava bagunçado!
  • Quem Está Navegando   0 membros estão online

    • Nenhum usuário registrado visualizando esta página.
×
×
  • Criar Novo...