topic replied by Alencar522 in Scripts
function onStepIn(cid, item, position, fromPosition) local storage = 18597 if getPlayerStorageValue(cid, storage) == -1 then doPlayerSendCancel(cid, "You/'re not a VIP player.") doTeleportThing(cid, f
topic replied by Alencar522 in Scripts
function onStepIn(cid, item, position, fromPosition) local storage = 18597 if getPlayerStorageValue(cid, storage) == -1 then doPlayerSendCancel(cid, "You/'re not a VIP player.") doTeleportThing(cid, f
topic replied by Alencar522 in Scripts
Esqueci que era 50% mals ae: function onCastSpell(cid) local tempo = 5 -- tempo em segundos local mana = getCreatureMana(cid)*0.5 -- quanto de mana ira perder local target = getCreatureTarget(cid) loc
topic replied by Alencar522 in Scripts
Coloca o teu script aí pra ver se tem algo errado.
topic replied by Alencar522 in Scripts
Se você colocou esse script e já havia um player lá dentro vai dar isso mesmo, tira ele de lá manualmente e testa novamente. Para funcionar o player tem que clicar na porta para ganhar a storage.
topic replied by Alencar522 in Scripts
Tenta assim: -- Do not remove the credits -- -- [MOVEEVENT] Limite de player por sala -- -- Developed by Rigby -- -- Especially for the Xtibia.com -- function onUse(cid, item, topos) local config = {
topic replied by Alencar522 in Scripts
Deu algum erro? Poste o script para ver se há algum erro.
topic replied by Alencar522 in Scripts
local expextra = 20 -- 20% de exp local storage = 13704 -- coloque sua storage aqui local valor = 1 -- valor da storage, se for por tempo deixe como está function onLogin(cid) if getPlayerStorageValue
topic replied by Alencar522 in Scripts
local expextra = 20 -- 20% de exp local storage = 13704 -- coloque sua storage aqui local valor = 1 -- valor da storage, se for por tempo deixe como está function onLogin(cid) if getPlayerStorageValue
topic replied by Alencar522 in Scripts
Só uma coisa, acho que se você quer adicionar um rate extra deve usar essa função: setPlayerExtraExpRate(cid, expextra) no lugar dessa: doPlayerSetExperienceRate(cid,expextra)
topic replied by Alencar522 in Scripts
Nas linhas if getPlayerStorageValue(cid, 1452369) == 1 valor then -- verificação para adicionar a xp só uma vez setPlayerStorageValue(cid, 1452369, 1) coloca uma storage que você não usou, creio os nã
topic replied by Alencar522 in Scripts
Tenta assim local expextra = 20 -- 20% de exp local storage = 123456 -- coloque sua storage aqui local valor = 1 -- valor da storage, se for por tempo deixe como está function onLogin(cid) if getPlaye
topic replied by Alencar522 in Resolvidos
local efeito = 20 local min = 100 -- dano minimo local max = 200 -- dano maximo local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1) setCombatParam(combat, COMBAT_PAR
topic replied by Alencar522 in Scripts
Veja se isso lhe ajuda: http://www.xtibia.com/forum/topic/235480-adicionar-exaust/
topic replied by Alencar522 in Resolvidos
Ficando assim: function onSay(cid, words, param) local storage = 23564 local tempo = 30 if getCreatureCondition(cid, CONDITION_INFIGHT) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,
posted a topic in the forum by Alencar522 in Tópicos Sem Resposta
Queria saber se tem como por esse talk pra tirar item no lugar do dinheiro:
posted a topic in the forum by Alencar522 in Tópicos Sem Resposta
Alguém poderia me ajudar com um Auto-Updater para nto que não possui site?