Eu gostaria de sabe como eu coloco o comando de !serverinfo no meu serv muito obrigado.
Styller Yourots 8.60 Original
-> 24hrs ON <-
Ip maconha420.servegame.com
Port 7171 ACC 1/1
RATES:
Exp: 80x
Skill: 60x
Magic Level: 55x
Eu gostaria de sabe como eu coloco o comando de !serverinfo no meu serv muito obrigado.
Styller Yourots 8.60 Original
-> 24hrs ON <-
Ip maconha420.servegame.com
Port 7171 ACC 1/1
RATES:
Exp: 80x
Skill: 60x
Magic Level: 55x
Simples. Vá em data/talkactions/scripts/serverinfo.lua, e coloque isso:
local config = { rateExperience = getConfigInfo('rateExperience'), rateSkill = getConfigInfo('rateSkill'), rateLoot = getConfigInfo('rateLoot'), rateMagic = getConfigInfo('rateMagic'), rateSpawn = getConfigInfo('rateSpawn'), protectionLevel = getConfigInfo('protectionLevel') } function onSay(cid, words, param) doPlayerPopupFYI(cid, "Server Information:\n\nExperience rate: x" .. config.rateExperience .. "\nSkills rate: x" .. config.rateSkill .. "\nLoot rate: x" .. config.rateLoot .. "\nMagic rate: x" .. config.rateMagic .. "\nSpawns rate: x" .. config.rateSpawn .. "\nProtection level: " .. config.protectionLevel) return TRUE end
Agora, vá em data/talkactions/talkactions.xml, e adicione isso:
<talkaction words="!serverinfo;/serverinfo" script="serverinfo.lua"/>
Topico Resolvido ?
Scripter em Treinamento
Codigos
Simples Pet Sistema < New
Assim que possivel mais codigos, com criatividade.
fera não faça esse tipo de comentario sem antes do proprio criador do topico falar resolvido! isso é flood tome cuidado /\
Canal do facebook de lives!! cola la galera me ajudar seguindo a pagina hehe ! ❤️
Esta Acontecendo Algo Diferente Comigo.
adicionei o talkaction e o serverinfo.lua
quando entro no server e executo o comando ,nao funciona e no prompt aparece erro data/talkactions/scripts/serverinfo.lua:15: in function <data/talkactions/scripts/serverinfo.lua:10>
Algm ME AJUDA ?
REP+ SE Algm Ajudar
local config = { rateExperience = getConfigInfo('rateExperience'), rateSkill = getConfigInfo('rateSkill'), rateLoot = getConfigInfo('rateLoot'), rateMagic = getConfigInfo('rateMagic'), rateSpawn = getConfigInfo('rateSpawn'), protectionLevel = getConfigInfo('protectionLevel'), stages = getBooleanFromString(getConfigInfo('experienceStages')) } function onSay(cid, words, param, channel) local exp = config.rateExperience if(config.stages) then exp = getExperienceStage(getPlayerLevel(cid), getVocationInfo(getPlayerVocation(cid)).experienceMultiplier) end doPlayerPopupFYI(cid, "Server Information:\n\nExperience rate: x" .. exp .. "\nSkills rate: x" .. config.rateSkill .. "\nLoot rate: x" .. config.rateLoot .. "\nMagic rate: x" .. config.rateMagic .. "\nSpawns rate: x" .. config.rateSpawn .. "\nProtection level: " .. config.protectionLevel) return true end
Scripter em Treinamento
Codigos
Simples Pet Sistema < New
Assim que possivel mais codigos, com criatividade.
"O fracasso é a oportunidade de se começar de novo inteligentemente"