Garry's Mod Wiki

Derma_Message

  Panel Derma_Message( string Text, string Title, string Button )

Description

Creates a derma window to display information

Arguments

1 string Text
The text within the created panel.
2 string Title
The title of the created panel.
3 string Button
The text of the button to close the panel.

Returns

1 Panel
The created DFrame

Example

Creates a popup informing the player that they are dead.

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