Module expcore.guiparts.popup

Used to add a popup gui style

Usage:

    Gui.left.add{name='foo',caption='Foo',draw=function}
    

Functions

open (style, data[, players=game.connected_players]) Use to open a popup for these players


Functions

open (style, data[, players=game.connected_players])
Use to open a popup for these players

Parameters:

  • style string this is the name you gave to the popup when added
  • data this is the data that is sent to the draw function
  • players table the players to open the popup for (default game.connected_players)

Usage:

    Gui.popup.open('ban',nil,{player=1,reason='foo'})
generated by LDoc 1.4.6 Last updated 2018-05-29 20:15:05