Postado Abril 4, 2017 8 anos Solução @jNo cara traduz o texto cara, ta dizendo ae que você não pode usar em battle, e não em pz! Não vai te matar entrar no google tradutor e traduzir esse texto cara. Spoiler local config = { bankSystemEnabled = getBooleanFromString(getConfigInfo('bankSystem')), storage = 25635, -- storage do delay time = 60 -- tempo em segundos 60 = 1 min } function onSay(cid, words, param) if getPlayerStorageValue(cid, config.storage) < os.time() then if config.bankSystemEnabled == TRUE then local m = tonumber(param) if(param == "") then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Command requires param.") return TRUE end if(not m) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Command requires numeric param.") return TRUE end m = math.abs(m) if m <= getPlayerBalance(cid) then doPlayerWithdrawMoney(cid, m) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Here you are, " .. m .. " gold. Your account balance is " .. getPlayerBalance(cid) .. ".") setPlayerStorageValue(cid, config.storage, os.time()+config.time) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "There is not enough gold on your account.") end else return FALSE end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Wait 60 seconds for use the command again.") return false end end Removi o check.
Postado Abril 5, 2017 8 anos Autor 40 minutos atrás, KotZletY disse: @jNo cara traduz o texto cara, ta dizendo ae que você não pode usar em battle, e não em pz! Não vai te matar entrar no google tradutor e traduzir esse texto cara. Mostrar conteúdo oculto local config = { bankSystemEnabled = getBooleanFromString(getConfigInfo('bankSystem')), storage = 25635, -- storage do delay time = 60 -- tempo em segundos 60 = 1 min } function onSay(cid, words, param) if getPlayerStorageValue(cid, config.storage) < os.time() then if config.bankSystemEnabled == TRUE then local m = tonumber(param) if(param == "") then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Command requires param.") return TRUE end if(not m) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Command requires numeric param.") return TRUE end m = math.abs(m) if m <= getPlayerBalance(cid) then doPlayerWithdrawMoney(cid, m) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Here you are, " .. m .. " gold. Your account balance is " .. getPlayerBalance(cid) .. ".") setPlayerStorageValue(cid, config.storage, os.time()+config.time) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "There is not enough gold on your account.") end else return FALSE end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Wait 60 seconds for use the command again.") return false end end Removi o check. Amigo, não funcionava de nenhuma forma essa merda, e outra, se preocupa menos em responder os tópicos dos outros com hostilidade, e foca em resolver a dúvida dos usuários, esse é o proposito do fórum, flw E obrigado mais uma vez (1º) | [8.60] - Galaxy Server - Download (2º) | [8.60] - Glorious Server - Download (3º) | [8.60] - Epic Server - Download
Postado Abril 5, 2017 8 anos @jNo errado, você ta com o problema, mas não soube expressar, ao menos deveria ter colocado muito antes o texto mandado, ou deveria ter pensado "to usando fora do pz, e não ta funcionando", então não é com pz o problema. Você deveria ter traduzido, ou deduzido que não era o pz, pois não tem nem a palavra "pz" escrita. Hu3hu3hu3. Em fim, até, que bom que funcionou. Até a próxima! xD
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.