Derma_Query

From Garry's Mod
Jump to: navigation, search
 Derma_Query( )

Contents

Description

Shows a message box in the middle of the screen, with up to 4 buttons they can press.

Arguments

string text="Message Text (Second Parameter)"

The message to display.

Arguments

string title="Message Title (First Parameter)"

The title to give the message box.

Arguments

string btn1text

The text to display on the first button.

Arguments

function btn1func=nil

The function to run if the user clicks the first button.

Arguments

string btn2text=nil

The text to display on the second button.

Arguments

function btn2func=nil

The function to run if the user clicks the second button.

Arguments

string btn3text=nil

The text to display on the third button

Arguments

function btn3func=nil

The function to run if the user clicks the third button.

Arguments

string btn4text=nil

The text to display on the third button

Arguments

function btn4func=nil

The function to run if the user clicks the fourth button.

Returns

Panel

The Panel object of the created window.
Personal tools
Navigation