Ir para conteúdo

Clean Automatico E !ranks Sistema 8.50


capeta22

Posts Recomendados

pessoal kero 1 ajuda uma ascript de clean e outra kero a script de por !ranks no ot !rank magic etc...

 

meu ot e xvx projet mind global 8.50 alguem ajuda agradeço fui.

Link para o comentário
Compartilhar em outros sites

Globalevent \/

Script clean.lua:

function executeClean()
cleanMap()
doBroadcastMessage("Next clean in two hours")
return TRUE
end

function onThink(interval, lastExecution)
doBroadcastMessage("Clean Sucesfull")
return TRUE
end

 

Tag no globalevent.lua:

<globalevent name="clean" interval="600" script="clean.lua"/>

 

talkaction \/

rank.lua:

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

 

Tag talkaction.xml do rank

<talkaction words="!rank" script="rank.lua"/>

Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...