Progenosis
Member
- Joined
- Sep 6, 2011
- Messages
- 131
- Reaction score
- 18
I have a 9.6 server starting to run these days, and there's a bug when players do command !rank
I'm using TFS 0.3.7
This is the script:
The client just debuggs :/
What's the problem? Please help!
I'm using TFS 0.3.7
This is the script:
HTML:
function onSay(cid, words, param)
local ranks = {
['fist'] = {0},
['club'] = {1},
['sword'] = {2},
['axe'] = {3},
['distance'] = {4},
['shield'] = {5},
['fish'] = {6},
['magic'] = {7},
['level'] = {8},
}
local msg = string.lower(param)
if ranks[msg] ~= nil then
str = getHighscoreString((ranks[msg][1]))
else
str = getHighscoreString((8))
end
doShowTextDialog(cid,6500, str)
return TRUE
end
The client just debuggs :/
What's the problem? Please help!