RO
pedido

Fixar Bless.

Por rollend, 03 de jun. de 2012 em Scripts

script
3
852
rollendR
03 de junho de 2012 às 21:10

Queria saber como eu poderia fazer o script para o player não perder nada ao morrer até o level 100!

caoticC
03 de junho de 2012 às 22:01

Crie um arquivo chamado notloss.lua

function onLogin(cid)

if getPlayerLevel(cid) < 99 then

doPlayerSetLossSkill(cid, 0)

doCreatureSetDropLoot(cid, false)

return true

end

 

<event type="login" name="loss" script="notloss.lua">

 

 

Coloca isto antes do ultimo return true

 

registerCreatureEvent(cid, "loss")

Editado Junho 4 por caotic

VincV
03 de junho de 2012 às 22:44

apenas corrijindo, ele disse até o lv 100, n apartir

function onLogin(cid)
if getPlayerLevel(cid) <= 100 then
doPlayerSetLossSkill(cid, 0)
doCreatureSetDropLoot(cid, false)
return true
end

resto é igual