B

brun123

Conde
Total de itens
512
Registro em
Setembro 24, 2006
Última visita
Julho 30
Dias ganhos
16
reputação
+369

fabio123456 deu upvote em Item que dá respawn

cria um script dentro da pasta movements/scripts e coloque isso dentro: function onRemoveItem(moveItem, tileItem, position, cid) local respawnTime = 25 * 1000 -

20 de jan. de 2013

Dynkzin deu upvote em Summon Nascer Dentro

function onCastSpell(cid, var) local maxSummons = 8 for n = 1, maxSummons do if #getCreatureSummons(cid) >= maxSummons then break end local clone = doCreateMons

20 de jan. de 2013

juliok80 deu upvote em onEquip/login erro

function onEquip(cid, item, slot) if os.time() - getPlayerLastLogin(cid) <= 1 then return true end local forc = getPlayerStorageValue(cid, 23222) setPlayerStora

20 de jan. de 2013

Hamsterbob deu upvote em Qual é a coisa mais importante em um código? E por que é a elegância?

estilo de programação é estilo de programação... meu "tab" tem 4 espaços em vez de 8, assim como também não vejo problema nenhum em fazer algo do tipo: if x <=

19 de jan. de 2013

juliok80 deu upvote em Qual é a coisa mais importante em um código? E por que é a elegância?

estilo de programação é estilo de programação... meu "tab" tem 4 espaços em vez de 8, assim como também não vejo problema nenhum em fazer algo do tipo: if x <=

19 de jan. de 2013

Hamsterbob deu upvote em [Spell] Teleporte e attack

é foi erro bobo meu> function onCastSpell(cid, var) local function blink(cid, target, turn) if not isCreature(cid) or not isCreature(target) or turn <= 0 then r

17 de jan. de 2013

juliok80 deu upvote em Simplificar Função

function recursive_skipLine(string, maxLength) if string:len() > maxLength then return string:sub(1, maxLength) .. "\n" .. recursive_skipLine(string:sub(maxLeng

16 de jan. de 2013

Hamsterbob deu upvote em Simplificar Função

function recursive_skipLine(string, maxLength) if string:len() > maxLength then return string:sub(1, maxLength) .. "\n" .. recursive_skipLine(string:sub(maxLeng

15 de jan. de 2013

Slicer deu upvote em Simplificar Função

function recursive_skipLine(string, maxLength) if string:len() > maxLength then return string:sub(1, maxLength) .. "\n" .. recursive_skipLine(string:sub(maxLeng

14 de jan. de 2013

Hamsterbob deu upvote em [Spell] Teleporte e attack

troca essa linha: local dmg = getCreatureLevel(cid) / 10 por essa: local dmg = getPlayerLevel(cid) / 10 Não entendi direito isso que você está falando de "comba

13 de jan. de 2013

juliok80 deu upvote em [Spell] Teleporte e attack

troca essa linha: local dmg = getCreatureLevel(cid) / 10 por essa: local dmg = getPlayerLevel(cid) / 10 Não entendi direito isso que você está falando de "comba

13 de jan. de 2013

rogeriomatx deu upvote em [Spell] Teleporte e attack

function onCastSpell(cid, var) local function blink(cid, target, turn) if not isCreature(cid) or not isCreature(target) or turn <= 0 then return end local dir,

12 de jan. de 2013

Hamsterbob deu upvote em Script de Teleport quando o monstro na area "x" a "y" estiver mortos.

ops, erro idiota meu, aqui: local areas = { [1] = { fromPosition = {x = 93, y = 125, z = 7}, -- upper-left sqm toPosition = {x = 95, y = 127, z = 7}, -- lower-r

12 de jan. de 2013

Skymagnum deu upvote em Modificar Número

function func(number) local number = number local decimal = number - math.floor(number) decimal = tonumber(tostring(decimal):sub(3, string.len(decimal))) number

10 de jan. de 2013

markim1986 deu upvote em Script de Teleport quando o monstro na area "x" a "y" estiver mortos.

local areas = { [1] = { fromPosition = {x = 93, y = 125, z = 7}, -- upper-left sqm toPosition = {x = 95, y = 127, z = 7}, -- lower-right sqm creatureName = {"Ra

10 de jan. de 2013

Hamsterbob deu upvote em Modificar Número

function func(number) local number = number local decimal = number - math.floor(number) decimal = tonumber(tostring(decimal):sub(3, string.len(decimal))) number

10 de jan. de 2013

juliok80 deu upvote em Modificar Número

function func(number) local number = number local decimal = number - math.floor(number) decimal = tonumber(tostring(decimal):sub(3, string.len(decimal))) number

10 de jan. de 2013

markim1986 deu upvote em Script de Teleport quando o monstro na area "x" a "y" estiver mortos.

ops, erro idiota meu, aqui: local areas = { [1] = { fromPosition = {x = 93, y = 125, z = 7}, -- upper-left sqm toPosition = {x = 95, y = 127, z = 7}, -- lower-r

09 de jan. de 2013

juliok80 deu upvote em Script de Teleport quando o monstro na area "x" a "y" estiver mortos.

ops, erro idiota meu, aqui: local areas = { [1] = { fromPosition = {x = 93, y = 125, z = 7}, -- upper-left sqm toPosition = {x = 95, y = 127, z = 7}, -- lower-r

09 de jan. de 2013

Hamsterbob deu upvote em Script quest

vê se funciona: function onUse(cid, item, frompos, item2, topos) doTransformItem(item.uid, item.itemid == 2058 and 2059 or 2058) local pos = topos pos.x = pos.x

09 de jan. de 2013

AnteriorPágina 6 de 19Próxima