mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 11:35:22 +09:00
Fixed Popup
This commit is contained in:
10
control.lua
10
control.lua
@@ -28,5 +28,11 @@ Event.register(-1,function() global.credits = credits end)
|
||||
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)
|
||||
ExpGui.add_frame.left('left_test','Player Name','Just Like any other',5,true,function(player,frame) for i=0,10 do frame.add{type='label',name=i,caption=player.name..'\n'} end end)
|
||||
ExpGui.add_input.button('make_message','Messgaes','Lots of messages',function() for i = 1,10 do ExpGui.draw_frame.popup('Message',{'Just A Message',i}) end end)
|
||||
ExpGui.add_frame.popup('Message','Message','Just A ToolTip',5,
|
||||
function(player,frame)
|
||||
ExpGui.add_input.draw_button(frame,'make_message') end,
|
||||
function(player,frame,args)
|
||||
frame.add{name='Message',type='label',caption=args[1]..' '..args[2]}
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user