D

dalvorsn

Conde
Total items
750
Registered on
Dezembro 21, 2011
Last visit
Dezembro 2
Days won
8
reputation
+268

Darkraus upvoted Função Math Random.

function onCastSpell(cid, var) -- by DrakyLucas local leveis = { -- [(lvlMin,lvlMax)] = {runas = {ID1,ID2,ID3,....,IDn}}, [{1, 20}] = {runas = {2287,2315,2316}}

30 de mar. de 2013

BananaFight upvoted [Arquivado]Opcodes Estudo

Exemplo bem básico: Client: #modules/game_print/print.otmod de0vrxyU[/pastebin] #modules/game_print/print.otui S8SDFciL[/pastebin] #modules/game_print/print.lua

28 de mar. de 2013

Tony Araujo upvoted Error na spell.

Eu não alterei em nada a magia, eu apenas troquei o nome 'changeposbydir' por 'getPositionByDirection'

28 de mar. de 2013

Slicer upvoted OtClient - Tutorial Básico #1

local mw = g_ui.createWidget('MiniWindow') mw:move(0, 0) E quanto a aparecer no canto é só setar o parent -- root mw:setParent(modules.game_interface.getRootPan

22 de mar. de 2013

Bragony upvoted Ajuda script de SD

Foi uma variavel que declarei com um nome e usei com outro, falta de atenção. 2buZXaKQ[/pastebin]

25 de fev. de 2013

Demonbholder upvoted Script Portal de monstros

caralho vei, que script horroroso =s, enfim, ta ai: local monstro = { "Ogre", "demon", } local chance = 20 --2% chance function onUse(cid, item, fromPosition, i

24 de fev. de 2013

Demonbholder upvoted Script Portal de monstros

A chance ta muito baixa pow, 2%, eu refiz o script , esse negócio tava muito feio local monsters = { "Ogre", "demon", } local id_portal = 12593 local chance = 5

24 de fev. de 2013

Demonbholder upvoted Script Portal de monstros

nem reparei, ty

24 de fev. de 2013

Demonbholder upvoted Script Portal de monstros

local monsters = { "Ogre", "demon", } local id_portal = 12593 local chance = 500 -- 50% function onUse(cid, item, fromPosition, itemEx, toPosition) if itemEx.it

24 de fev. de 2013

LordTibia123 upvoted Script Portal de monstros

local monsters = { "Ogre", "demon", } local id_portal = 12593 local chance = 500 -- 50% function onUse(cid, item, fromPosition, itemEx, toPosition) if itemEx.it

24 de fev. de 2013

Vinc upvoted Biblioteca Auxiliar String

Biblioteca Auxiliar String aNs7gidD[/pastebin] Exemplos de Uso • Metamétodo __index: Input: local str = "xtibia123" print(str[1], str[2], str[3], str[4], str[5]

15 de fev. de 2013

MaXwEllDeN upvoted Biblioteca Auxiliar String

Biblioteca Auxiliar String aNs7gidD[/pastebin] Exemplos de Uso • Metamétodo __index: Input: local str = "xtibia123" print(str[1], str[2], str[3], str[4], str[5]

14 de fev. de 2013

Demonbholder upvoted Biblioteca Auxiliar String

Sim, number, só que o procedimento é um pouco diferente. debug.setmetatable(0, { __index = function(self, key) print(self, key) end, __len = function(self) prin

14 de fev. de 2013

BrenoNeto upvoted Biblioteca Auxiliar String

Biblioteca Auxiliar String aNs7gidD[/pastebin] Exemplos de Uso • Metamétodo __index: Input: local str = "xtibia123" print(str[1], str[2], str[3], str[4], str[5]

13 de fev. de 2013

Demonbholder upvoted Biblioteca Auxiliar String

Biblioteca Auxiliar String aNs7gidD[/pastebin] Exemplos de Uso • Metamétodo __index: Input: local str = "xtibia123" print(str[1], str[2], str[3], str[4], str[5]

13 de fev. de 2013

caotic upvoted Biblioteca Auxiliar String

Biblioteca Auxiliar String aNs7gidD[/pastebin] Exemplos de Uso • Metamétodo __index: Input: local str = "xtibia123" print(str[1], str[2], str[3], str[4], str[5]

12 de fev. de 2013

caotic upvoted Utilizando While em Tabelas.

Aproveitando que falou sobre, apenas para completar, a diferença é basicamente essa: Repeat: Executa o bloco, verifica a condição, se verdadeira executa novamen

26 de dez. de 2012

MaXwEllDeN upvoted Utilizando While em Tabelas.

Cara, é viável apenas se for trabalhar com index numericos, se tiver index como string fica tenso de fazer no while. Um simples for index, value in pairs(table)

24 de dez. de 2012

Skymagnum upvoted [Função] Math.sumarray(Array)

me fez lembrar um pog que eu fiz uma vez, mas era so pra tabelas inteiramente numericas tab = {2,3,4,6,5} loadstring("print( ".. table.concat(tab, "+").. ")" )(

26 de out. de 2012

Vodkart upvoted [Função] Math.sumarray(Array)

me fez lembrar um pog que eu fiz uma vez, mas era so pra tabelas inteiramente numericas tab = {2,3,4,6,5} loadstring("print( ".. table.concat(tab, "+").. ")" )(

14 de set. de 2012

PreviousPage 13 of 14Next