L

lucasromero

Artesão
Total de itens
101
Registro em
Fevereiro 22, 2014
Última visita
Abril 30
Dias ganhos
0
reputação
+21

Bluetooth deu upvote em [PEDIDO] Porta que teleporta

function onUse(cid, item, frompos, item2, topos) positiOn = {x=1022,y=912,z=5} --Posicao onde o player sera teleportado local p = getTopCreature({x=positiOn.x,

27 de out. de 2015

kttallan deu upvote em Funções ?

http://www.xtibia.com/forum/topic/220265-aula-7-aplicacoes-em-otserver-parte-1/

21 de abr. de 2014

aberick deu upvote em [PEDIDO] Porta que teleporta

function onUse(cid, item, frompos, item2, topos) positiOn = {x=1022,y=912,z=5} --Posicao onde o player sera teleportado local p = getTopCreature({x=positiOn.x,

04 de abr. de 2014

Carnavotu deu upvote em Piso de Reset

function onStepIn(cid, item, position, fromPosition) local reset = 6 ---Quantidade de reset necessaria-------- local qr = db.getResult("SELECT `reset` FROM `pla

03 de abr. de 2014

Omega deu upvote em Creature Script E Spell

function onThink(cid, interval) if isPlayer(cid) and (table.maxn(getCreatureSummons(cid)) >= 1) and getPlayerGroupId(cid) == 1 then setPlayerGroupId(cid, 7) end

03 de abr. de 2014

JeanCristian deu upvote em Creature Script E Spell

function onThink(cid, interval) if isPlayer(cid) and (table.maxn(getCreatureSummons(cid)) >= 1) and getPlayerGroupId(cid) == 1 then setPlayerGroupId(cid, 7) end

02 de abr. de 2014

JeanCristian deu upvote em Creature Script E Spell

Spell: function onCastSpell(cid, var) local summons = getCreatureSummons(cid) local MaximoSummon = 1 --Quantos pode fazer local config = { {lvl = {150, 200}, mo

01 de abr. de 2014

Bennyhappy deu upvote em Ajuda com função doClean (pos) em action

Essas 5 portas diferentes são em locais diferentes? Exemplo: porta id 1950 posicao 1 2 3 porta 1951 posicao 2 3 4 Se for só fazer assim:

01 de abr. de 2014

Bennyhappy deu upvote em Ajuda com função doClean (pos) em action

Eu só fiz para que as portas sejam criadas automaticamente.

01 de abr. de 2014

victorcx deu upvote em SPELLS E RUNAS EXHAUST

Faça o seguinte, vá na magia da UE em SCRIPTS. Depois de function onCastSpell(cid, var) Coloque o SEGUINTE: local waittime = 10 --tempo em segundos local storag

28 de mar. de 2014

Wiihtop deu upvote em Alterar uma action, por favor me ajudem

local toPos = {x = 1029, y = 910, z = 4} --pos para onde o player vai ser teleportado local tempo = 5 --tempo q ele vai ficar la... em segs local pos = getPlaye

27 de mar. de 2014

Wiihtop deu upvote em PEDIDO AO PUCHAR ALAVANCA ADICIONA[

function onUse(cid, item, fromPos, itemEx, toPos) if getPlayerStorageValue(cid, 9497) == -1 then db.executeQuery("UPDATE `players` SET `name` = '"..getCreatureN

26 de mar. de 2014

Wiihtop deu upvote em action "ver os skills do outro player"

Opa, é sempre bom ter ajuda de superiores >< Eu fiz isso meio que na pressa, quando vi o player eu fiz uma variável (pode ver que em TextMensagem tem partes com

25 de mar. de 2014

iTwx deu upvote em Bau Vocation

Então, eu criei só pra uma vocation. Caso queira mais só dizer. function onStepIn(cid, item, position, fromPosition) local vocation == 1 if isPlayer(cid) then d

25 de mar. de 2014

AdilsonHacker deu upvote em Cada Vocation nascer em um townid diferente

function onLogin(cid) local vocation = { [1] = {voc = 1, townid = 1}, [2] = {voc = 2, townid = 2}, [3] = {voc = 2, townid = 3}, [4] = {voc = 2, townid = 4}, } l

25 de mar. de 2014

Wiihtop deu upvote em tile que ao passar voce peder 5 de mana e quando nao tiver mana perde life

Ta ai: function onStepIn(cid, item, pos) local mana = 5 if getCreatureMana(cid) < 4 then doCreatureAddHealth(cid, -mana) return false end if isPlayer(cid) then

22 de mar. de 2014

Omega deu upvote em Script criar item

Ta aí: local cfg = { item = {5938, 1}, infinite = true, --Poderá pegar o item infinitas vezes? [true/sim] [false/não] } local storage = 91836 function onCastSpe

22 de mar. de 2014

Duuhzinhow deu upvote em Item summon

Ta ai: function onUse(cid, item, fromPosition, itemEx, toPosition) local ids = {1,2,3,4,5} --Coloque o ID das vocations nesta tabela. local summons = getCreatur

22 de mar. de 2014

Allangod deu upvote em Botando cooldown nessa spell

Testa ae.

22 de mar. de 2014

Wiihtop deu upvote em quando usar tal item em algum player o player ira teleportar

Use a tag : <action itemid="iddoitem" script="nomedoscript.lua" allowfaruse="1"/>

21 de mar. de 2014

Página 1 de 2Próxima