Derma_Message

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

Contents

Description

Creates a derma window to display information

Arguments

string Text

The text within the created panel.

Arguments

string Title

The title of the created panel.

Arguments

string Button

The text of the button to close the panel.

Examples

Example

Creates a popup informing the player that they are dead.

Derma_Message("You are currently dead", "Death Notice", "OK")

Output:

Derma Message.png
Personal tools
Navigation