B

Bennyhappy

Artesão
Total items
118
Registered on
Novembro 10, 2011
Last visit
Maio 11
Days won
0
reputation
+2

Recent activity

B
aumentando o dano de monstros

topic replied by Bennyhappy in Resolvidos

sim obrigado, use .lua function onHealthChange(player, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin)if not attacker then return primaryDamage, primaryType, secondaryDam

09 de jan. de 20174 replies
B
aumentando o dano de monstros

topic replied by Bennyhappy in Resolvidos

Eu procuro para aumentar o dano de todos os monstros em geral em sources ou com function onHealthChange(player, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin)

09 de jan. de 20174 replies
B
aumentando o dano de monstros

posted a topic in the forum by Bennyhappy in Resolvidos

Olá amigos, como eu posso aumentar o dano de monstros? percentagem uso tfs 1.2 obrigado

08 de jan. de 20174 replies
B
converter código em uma função ajuda

topic replied by Bennyhappy in Scripts

Error em consola: attempt to concatenate a nil value você não está devolver qualquer valor na função, não é tão simples quanto você pensa. yo modifique para: function getPlayerProtection(cid, param) f

30 de out. de 20155 replies
B
converter código em uma função ajuda

posted a topic in the forum by Bennyhappy in Scripts

local slots = { ['head'] = CONST_SLOT_HEAD, ['armor'] = CONST_SLOT_ARMOR, ['legs'] = CONST_SLOT_LEGS, ['feet'] = CONST_SLOT_FEET, ['left'] = CONST_SLOT_LEFT, ['right'] = CONST_SLOT_RIGHT } local itemS

30 de out. de 20155 replies
B
Ajuda para terminar meu script Por favor

topic replied by Bennyhappy in Scripts

Obrigado amigo, que a linha simplesmente meu erro resolvido Você poderia me ajudar a criar uma função com esse código? local slots = { ['head'] = CONST_SLOT_HEAD, ['armor'] = CONST_SLOT_ARMOR, ['legs'

29 de out. de 20154 replies
B
Ajuda para terminar meu script Por favor

posted a topic in the forum by Bennyhappy in Scripts

HI Este código funciona perfeitamente retornado bons valores. mas .... Só tenho esse erro no console: Este erro acontece quando o personagem não tem nenhum artigo na respectiva ranhura. Aqui, o código

29 de out. de 20154 replies
B
onDropLoot(cid, item)

topic replied by Bennyhappy in Linguagens de Programação

alreves: function onDropLoot(cid, item) local block = {2221, 1221, 2922} for i=1, #block do if item.itemid == block[i] then return true else return false end end return true end

24 de out. de 201520 replies
B
reduzir daños em OnStatsChange tfs 0.4

topic replied by Bennyhappy in Scripts

sim no e posible, agora estoy mudando para reflection: function onStatsChange(cid, attacker, type, combat, value) if isPlayer(cid) and type == STATSCHANGE_HEALTHLOSS then if isPlayer(attacker) or isMo

04 de out. de 20154 replies
B
reduzir daños em OnStatsChange tfs 0.4

posted a topic in the forum by Bennyhappy in Scripts

function onStatsChange(cid, attacker, type, combat, value) if isPlayer(cid) and isPlayer(attacker) and type == STATSCHANGE_HEALTHLOSS then value = value - 10 doTargetCombatHealth(attacker, cid, combat

01 de out. de 20154 replies
B
weapon com formula

posted a topic in the forum by Bennyhappy in Archived

uma arma para atacar, dependendo do seu skills y level ,por exemplo: magic level * 1.5 + 100 + player level = dano total da arma mesmo por espada exemplo: skill sword * 2.0 + 150 + player level = dano

02 de mai. de 20140 replies
B
Ajuda com função doClean (pos) em action

posted a topic in the forum by Bennyhappy in Scripts

Olá boa noite, eu preciso de você para me ajudar com esta action, quando você ativar a alavanca, como você pode ver as portas também são removidos function onUse(cid, item, fromPosition, itemEx, toPos

31 de mar. de 20146 replies