ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Shared functions
  3. setPlayerWastedScreenEnabled

Function

setPlayerWastedScreenEnabled

Server and clientPlayersTrilogy Hub only

Turns on the game's WASTED screen (text and red overlay) after the player dies. Off by default.

Syntax

Server

bool setPlayerWastedScreenEnabled(player thePlayer, bool enabled)

Client

bool setPlayerWastedScreenEnabled(bool enabled)

Arguments

thePlayerplayer
A player or root (server only).
enabledbool
true turns it on.

Returns

true on success.

Example

setPlayerWastedScreenEnabled(root, true)

See also