Data/creaturescripts/scripts crie 1 arquivo LUA chamado ItemLevel e adicione isso dentro:
function onAdvance(cid, skill, oldLevel, newLevel) local new_level = 50 local text = "Parabens, " .. getCreatureName(cid) .. " você avançou de level,você recebeu 20k para promote!" if skill == 8 then if (oldLevel < new_level ) and (newLevel >= new_level) and getPlayerStorageValue(cid, 32647) <= 0 then doPlayerSendTextMessage(cid,19,text) doPlayerAddItem(cid,2160,2) setPlayerStorageValue(cid, 32647, 1) return TRUE end end return TRUE end
Creaturescript.xml :
<event type="Advance" name="ItemLevel" script="ItemLevel.lua"/>
Creaturescripts/Scripts abra Login.lua e adicione:
registerCreatureEvent(cid, "ItemLevel")
101% dos Creditos para VodKart.




info
Grupo: Barão
Registrado: 27/04/09
Posts: 242
Reputação: +83
Gênero: Masculino
Char no Tibia: Askators
olá a todos ja vi em varios ots que quando tu chega em algum certo level tu ganha uma certa quantia de dinheiro! e eu quero que quando chegue no level 50 ganhe 20k que seria pra promotion! rep+
isto serve para evitar que a pessoa fique criando varios chars para conseguir dinheiro!
Editado Outubro 7 por ADM_Forever