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

TFS 0.X help to configure this boss rank script [TFS 0.4]

pisquila

New Member
Joined
Nov 14, 2023
Messages
7
Reaction score
1
Sorry for the spelling, I'm using Google Translate.
Could someone help me with this boss rank script please, I would like it to show the boss rank, just like the normal rank. However, it is showing another rank and not the boss's, the amount he killed



local monsterRanks = {
['ASTRA'] = {0},
}

function onUse(cid, item, fromPosition, itemEx, toPosition)
local monsterName = "ASTRA"

if monsterRanks[monsterName] ~= nil then
local str = getHighscoreString(monsterRanks[monsterName][1])
doShowTextDialog(cid, 6500, str)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Monstro não encontrado no ranking.")
end

return true
end
 
Back
Top