o q o script faz? se for 1 comando tipo !comando e ne talkactions
se for quando usa alguem item pode ser actions o movements
se for sem usar item e sim quando o plahyer loga ou mata alguem é creturescripts
info
Grupo: Campones
Registrado: 15/04/11
Posts: 28
Reputação: +8
Char no Tibia: darkwath

o q o script faz? se for 1 comando tipo !comando e ne talkactions
se for quando usa alguem item pode ser actions o movements
se for sem usar item e sim quando o plahyer loga ou mata alguem é creturescripts
info
Grupo: Campones
Registrado: 09/06/11
Posts: 6
Reputação: 0
function onLogin(cid) maximum = { player = getPlayerGUID(cid), lvlmax = 717217, -- Level que o player vai ficar apos usar o comando. }if getPlayerLevel(cid) == 1 and getPlayerStorageValue(cid,15915) == 1 then doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..maximum.lvlmax..", `experience` = 0 WHERE `id` = "..maximum.player) endreturn TRUEend