Added Popup guis and test guis in control.lua

This commit is contained in:
Cooldude2606
2017-07-03 21:18:25 +01:00
parent f1ce424e90
commit de5fa86749
6 changed files with 78 additions and 17 deletions

View File

@@ -23,3 +23,10 @@ credit_loop(require("locale/StdLib/event"))
credit_loop(require("locale/file-header"))
Event.register(-1,function() global.credits = credits end)
--temp
ExpGui.add_frame.center('Test','Test','A Simple Gui',5)
ExpGui.add_frame.tab('testing','Long Tab','Just Like any other',5,'Test',function(player,tab) for i=0,100 do tab.add{type='label',name=i,caption=player.name} end end)
ExpGui.add_frame.tab('just_a_tab','A Tab','Just Like any other',5,'Test',function(player,tab) tab.add{type='label',name='temp',caption=player.name} end)
ExpGui.add_frame.left('left_test','Player Name','Just Like any other',5,function(player,frame) for i=0,10 do frame.add{type='label',name=i,caption=player.name..'\n'} end end)
ExpGui.add_frame.popup('Message','Message','Just A ToolTip',5,function(player,frame) frame.add{name='TEST',type='label',caption=player.name} end,function(player,frame,args) frame.add{name='Message',type='label',caption=args[1]..' '..args[2]} end)