adminframe

Administrative Reason / Time panel.

Functions

adminframe:GetFunc()

View source »

Get the panel's attempted action.

adminframe:SetAccept(func)

View source »

Set the callback used on accept.

Parameters

  • func

adminframe:SetAction(func)

View source »

Alias of SetFunc

Parameters

See Also

adminframe:SetCancel(func)

View source »

Set the callback used on cancel.

Parameters

  • func

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