Evil-Cod3r Posted December 14, 2011 Share Posted December 14, 2011 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
Evil-Cod3r Posted December 14, 2011 Author Share Posted December 14, 2011 is there another way ? Link to comment
HoLsTeN Posted December 15, 2011 Share Posted December 15, 2011 hhhhhhh the same post of my topic and the same code viewtopic.php?f=91&t=36765 good luck -_-" Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now