Jump to content

Help in TOP10 Script Please


Evil-Cod3r

Recommended Posts

Hi all i want Make TOP 10 Players in server By EXP and Level :)

top_window = guiCreateWindow(248,95,417,409,"TOP 10 ",false) 
top_grid = guiCreateGridList(9,25,399,333,false,top_window) 
guiGridListSetSelectionMode(top_grid,2)  
guiGridListAddColumn(top_grid,"Player Name",0.2) 
guiGridListAddColumn(top_grid,"EXP",0.2) 
guiGridListAddColumn(top_grid,"Lvl",0.2) 
close_ = guiCreateButton(106,363,224,31,"CLOSE",false,top_window) 
  
  
function ShowTheGui() 
    if (guiGetVisible(top_window) == true) then 
        guiSetVisible(top_window, false) 
        showCursor(false) 
    else 
        guiSetVisible(top_window, true) 
        showCursor(true) 
    end 
end 
bindKey("F3","down",ShowTheGui) 
  
function CloseTheGui (button, state, absoluteX, absoluteY) 
  if (source == close_) then 
  guiSetVisible (top_window, false) 
  showCursor(false) 
  end 
end 
addEventHandler ("onClientGUIClick", getRootElement(), CloseTheGui) 
  
  
  

 theExp = getElementData(source, "EXP") 
 theRank = getElementData(source, "Level") 
  

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...