dave182
New Member
- Joined
- Jan 23, 2009
- Messages
- 80
- Reaction score
- 3
I've watch people requesting this, so here you are. Ranks System.
It works like this: you say !ranks and it will show you the ranks of EXP.
you say !ranks magic and it will show you the ranks of ml.
you say !ranks axe, !ranks distance, !ranks club OR !ranks sword and it will show you these skills (axe, distance, club, sword.)
I put the basically, but it works with fishing, fist and shielding too.
If I help u, REP+ me
Code:
function onSay(cid, words, param)
if(param == "exp") or (param == "") then
doPlayerPopupFYI(cid, getHighscoreString(8))
elseif(param == "magic") or (param == "ml") then
doPlayerPopupFYI(cid, getHighscoreString(7))
elseif(param == "fishing") or (param == "fish") then
doPlayerPopupFYI(cid, getHighscoreString(6))
elseif(param == "shielding") or (param == "shield") then
doPlayerPopupFYI(cid, getHighscoreString(5))
elseif(param == "distance") or (param == "dist") then
doPlayerPopupFYI(cid, getHighscoreString(4))
elseif(param == "sword") then
doPlayerPopupFYI(cid, getHighscoreString(2))
elseif(param == "axe") then
doPlayerPopupFYI(cid, getHighscoreString(3))
elseif(param == "club") then
doPlayerPopupFYI(cid, getHighscoreString(1))
elseif(param == "fist") then
doPlayerPopupFYI(cid, getHighscoreString(0))
end
return TRUE
end
Code:
<talkaction words="!ranks" script="ranks.lua"/>
It works like this: you say !ranks and it will show you the ranks of EXP.
you say !ranks magic and it will show you the ranks of ml.
you say !ranks axe, !ranks distance, !ranks club OR !ranks sword and it will show you these skills (axe, distance, club, sword.)
I put the basically, but it works with fishing, fist and shielding too.
If I help u, REP+ me