RunarM
Finally back
Are you using the 0.2 one?
Are you using the 0.2 one?
not act on tfs 0.3.4? ;/
nice
this is useful :]
Yeah, Would be cool if Tfs team added it in the server ;p
Question though, anychance you can make this !serverinfo?
notGood work.
local config = {
rateExperience = getConfigInfo('rateExperience'),
rateSkill = getConfigInfo('rateSkill'),
rateLoot = getConfigInfo('rateLoot'),
rateMagic = getConfigInfo('rateMagic'),
rateSpawn = getConfigInfo('rateSpawn'),
protectionLevel = getConfigInfo('protectionLevel'),
news = getConfigInfo('motd'),
serverName = getConfigInfo('serverName'),
owner = getConfigInfo('ownerName'),
location = getConfigInfo('location'),
worldType = = getConfigInfo('worldType'),
stages = getBooleanFromString(getConfigInfo('experienceStages'))
}
function onSay(cid, words, param, channel)
local exp = config.rateExperience
if(config.stages == TRUE) then
exp = getExperienceStage(getPlayerLevel(cid))
end
guild = getPlayerGuildName(name)
name = getPlayerName(cid)
level = getPlayerLevel(cid)
access = getPlayerAccess(cid)
local hours = math.ceil(getWorldUpTime() / 3600) - 1
local minutes = math.ceil((getWorldUpTime() - (3600 * hours)) / 60)
if minutes == 60 then
minutes = 0
hours = hours + 1
end
doPlayerPopupFYI(cid, "Welcome to " .. config.serverName .. " ( " .. config.worldType .. " ) \nServer 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 .. "\nNews:\n " .. config.news .." \n \n\n You are Logged in as:\n Name: " .. name .."\n Level: " .. level .."\n Access: " .. access .."\n\n Server made by: " .. config.owner .." ( " .. config.location .." )\n Uptime: ".. hours .." hours and " .. minutes .." minutes.")
return TRUE
end