Ir para conteúdo

Featured Replies

Postado
  • Autor
  Em 25/12/2016 em 15:45, PedroSTT disse:

DoubleXP System


  function onKill(cid, target, lastHit)
 local exp = getExperienceStage(getPlayerLevel(cid), getVocationInfo(getPlayerVocation(cid)).experienceMultiplier)
           if isPlayer(cid) and isMonster(target) then
              if getGlobalStorageValue(102590) - os.time() >= 1 then
               doPlayerAddExp(cid, getMonsterInfo(string.lower(getCreatureName(target))).experience*1.5*exp)/2)
                addEvent(doSendAnimatedText, 500, getCreaturePosition(cid), '+'..count, math.random(50,60))
              end
              return TRUE
           end
           return TRUE
  end

 

Teve um problema no script do Exp

21:30:02.721] [Error - LuaInterface::loadFile] data/creaturescripts/scripts/exp.lua:5: unexpected symbol near '/'
[21:30:02.724] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/exp.lua)
[21:30:02.727] data/creaturescripts/scripts/exp.lua:5: unexpected symbol near '/'

  • Respostas 6
  • Visualizações 488
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • DoubleXP System   function onKill(cid, target, lastHit)  local exp = getExperienceStage(getPlayerLevel(cid), getVocationInfo(getPlayerVocation(cid)).experienceMultiplier)            if isPlayer(ci

  • Usuário acima já lhe ajudou com a exp.lua   Este é do shop   local SHOP_MSG_TYPE = MESSAGE_EVENT_ORANGE local SQL_interval = 30 function onThink(cid, interval, lastExecution)

Postado
  Em 25/12/2016 em 23:32, moviebr disse:

Teve um problema no script do Exp

21:30:02.721] [Error - LuaInterface::loadFile] data/creaturescripts/scripts/exp.lua:5: unexpected symbol near '/'
[21:30:02.724] [Warning - Event::loadScript] Cannot load script (data/creaturescripts/scripts/exp.lua)
[21:30:02.727] data/creaturescripts/scripts/exp.lua:5: unexpected symbol near '/'

 

Tenta esse:

  function onKill(cid, target, lastHit)
 local exp = getExperienceStage(getPlayerLevel(cid), getVocationInfo(getPlayerVocation(cid)).experienceMultiplier)
           if isPlayer(cid) and isMonster(target) then
              if getGlobalStorageValue(102590) - os.time() >= 1 then
               doPlayerAddExp(cid, getMonsterInfo(string.lower(getCreatureName(target))).experience * 1.5 * exp / 2)
                addEvent(doSendAnimatedText, 500, getCreaturePosition(cid), '+'..count, math.random(50,60))
              end
              return TRUE
           end
           return TRUE
  end

 

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo