L

Lucas CP

Campones
Total items
54
Registered on
Abril 13, 2015
Last visit
Maio 1
Days won
0
reputation
+21

Recent activity

L
(resolvido) Erro Script Lua

topic replied by Lucas CP in Resolvidos

Se o problema é que o script nao para quando entra na condição, coloca um "return true" nela

10 de nov. de 20164 replies
L
Erro Script /ban

topic replied by Lucas CP in Resolvidos

Muda isso: doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getCreatureName(pid) .. " foi banido.") para isso doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, param .. " foi banido."

26 de set. de 20163 replies
L
Erro no script

topic replied by Lucas CP in Scripts

https://uploaddeimagens.com.br/imagens/erro-png--386 Em config.lua mude isso allowClones = "yes" ou allowClones = true para isso allowClones = "no" ou allowClones = false

11 de mar. de 20169 replies
L
Function onDeath (cid, corpse, deathList) erro

topic replied by Lucas CP in Scripts

Mude seu login.lua para esse: -- ordered as in creaturescripts.xml local events = { 'pythiusDead', 'bossesGrayIsland', 'ElementalSpheres', 'ElementalSpheresKill', 'ElementalSpheresLogin', 'WarzoneThre

03 de mar. de 201617 replies
L
Ganhar Gold ao Matar Player Level 700+

topic replied by Lucas CP in Scripts

tenta assim: local tabela = { {de = 700, ate = 799,coin = 10*10000}, {de = 800, ate = 899,coin = 20*10000}, {de = 900, ate = 999,coin = 30*10000}, } function onKill(cid, target) if Player(cid) and Pla

02 de mar. de 201614 replies
L
Function onDeath (cid, corpse, deathList) erro

topic replied by Lucas CP in Scripts

muda o callback para onKill e add esse codigo: local task = { ['multi'] = {total = 600, stoTime = 96586, stoKill = 96587, amount = 1} } function onKill(cid, target) local player = Player(cid) local mo

02 de mar. de 201617 replies
L
Function onDeath (cid, corpse, deathList) erro

topic replied by Lucas CP in Scripts

A função onDeath no tfs 1.x não é mais assim: onDeath(cid, corpse, deathList) vc terá que adaptar para esse formato: onDeath(cid, corpse, lasthitkiller, mostdamagekiller, lasthitunjustified, mostdamag

02 de mar. de 201617 replies
L
Ganhar Gold ao Matar Player Level 700+

topic replied by Lucas CP in Scripts

tenta assim: local config = { level = 700, -- level que ganha o dinheiro coin = 10000 -- coin é em gold coin, ou seja, 1 é 1 gold coin, 100 é 1 platinum coin, 10000 é 1 crystal coin } function onPrepa

02 de mar. de 201614 replies
L
Mudar Função deste evento para TFS 1.0

topic replied by Lucas CP in Scripts

tente assim: function onSay(cid, words, param) if(param == "") then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Hunted [BOUNTY HUNTERS] Use: \"!hunted kks,nick\".") return TRUE end loca

01 de mar. de 20168 replies