• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Command /serverinfo

RLA24

New Member
Joined
Feb 15, 2009
Messages
66
Reaction score
0
Yes i am having trouble with the command its doesn't work can someone tell me why.

talkaction
serverinfo lua

local config = {
rateExp = getConfigInfo('rateExp'),
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.rateExp .. "\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


Talkaction xml

<talkaction words="/serverinfo" script="serverinfo.lua"/>


Can someone help me out
 
Back
Top Bottom