AdminFrame

Administrative Reason / Time panel.

Functions

AdminFrame:GetFunc()

View source »

Get the panel's attempted action.

Returns

AdminFrame:SetAccept(func)

View source »

Set the callback used on accept.

Parameters

  • func func

    New callback.

AdminFrame:SetAction(func)

View source »

Alias of SetFunc

Parameters

See Also

AdminFrame:SetCancel(func)

View source »

Set the callback used on cancel.

Parameters

  • func func

    New callback.

AdminFrame:SetFunc(value)

View source »

Set the action we're attempting to run.

Parameters

  • value string

    Action to run, one of access, ban, kick.

AdminFrame:SetPlayer(ply)

View source »

Set the player we're attempting to handle.

Parameters

  • ply Player

    Player we're handling.