• 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!

!rank problem, God, or GM or CM showing up.

Stuart

New Member
Joined
Feb 23, 2009
Messages
4
Reaction score
0
Hey the guys, well yeah thats it. It just shows everyone, and i just want it to show players with group id from 1-3
Any help in how changing this?

Code:
PHP:
local ranks = {

['fist'] = {0},

['club'] = {1},
['sword'] = {2},
['axe'] = {3},
['distance'] = {4},
['shield'] = {5},
['fish'] = {6},
['magic'] = {7},
['level'] = {8},

}


function onSay(cid, words, param)

local msg = string.lower(param)
if ranks[msg] ~= nil then
str = getHighscoreString((ranks[msg][1]))
else
str = getHighscoreString((8))
end
doPlayerPopupFYI(cid, str)
return TRUE

end

Thanks :D
 
Back
Top