L

lucasromero

Artesão
Total items
101
Registered on
Fevereiro 22, 2014
Last visit
Abril 30
Days won
0
reputation
+21

Bluetooth upvoted [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 upvoted Funções ?

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

21 de abr. de 2014

aberick upvoted [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 upvoted 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 upvoted 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 upvoted 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 upvoted 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 upvoted 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 upvoted Ajuda com função doClean (pos) em action

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

01 de abr. de 2014

victorcx upvoted 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 upvoted 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 upvoted 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 upvoted 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 upvoted 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 upvoted 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 upvoted 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 upvoted 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 upvoted 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 upvoted Botando cooldown nessa spell

Testa ae.

22 de mar. de 2014

Wiihtop upvoted 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

Page 1 of 2Next