Olá galera tudo bem?! Queria pedir uma ajuda pra arrumar este script. O script é o de maxlvl , se voce for level 717217 , ele te upa para o level 717218. Eu queria que precisasse ter 10 resets para usa-lo.
Eu tentei colocar : if getPlayerStorage(cid,2310) == 10 then / / mas não sou bom scripter kkkkk
Alguem pode ajudar?
function onSay(cid, words, param)
maximum = {
player = getPlayerGUID(cid),
lvlmax = 717218, -- Level que o player vai ficar apos usar o comando.
}
if getPlayerLevel(cid) == 717217 then
doRemoveCreature(cid)
db.executeQuery("UPDATE `players` SET `level` = "..maximum.lvlmax..", `experience` = 10000 WHERE `id` = "..maximum.player)
else
doPlayerSendCancel(cid, 'You do not have the level max 717217.')
doSendMagicEffect(getPlayerPosition(cid),37)
end
end
Pergunta
surfnament 1
Olá galera tudo bem?! Queria pedir uma ajuda pra arrumar este script. O script é o de maxlvl , se voce for level 717217 , ele te upa para o level 717218.
Eu queria que precisasse ter 10 resets para usa-lo.
Eu tentei colocar : if getPlayerStorage(cid,2310) == 10 then / / mas não sou bom scripter kkkkk
Alguem pode ajudar?
function onSay(cid, words, param) maximum = { player = getPlayerGUID(cid), lvlmax = 717218, -- Level que o player vai ficar apos usar o comando. } if getPlayerLevel(cid) == 717217 then doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..maximum.lvlmax..", `experience` = 10000 WHERE `id` = "..maximum.player) else doPlayerSendCancel(cid, 'You do not have the level max 717217.') doSendMagicEffect(getPlayerPosition(cid),37) end endLink para o comentário
https://xtibia.com/forum/topic/226006-ajuda-pra-arrumar-esta-talkaction/Compartilhar em outros sites
3 respostass a esta questão
Posts Recomendados