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
Group: Campones
Joined: 15/04/11
Posts: 28
Reputation: +8
Tibia Character: 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
Group: Campones
Joined: 09/06/11
Posts: 6
Reputation: 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