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

Function

isPlayerWastedScreenEnabled

Server and clientPlayersTrilogy Hub only

Checks whether the player sees the game's WASTED screen after death.

Syntax

Server

bool isPlayerWastedScreenEnabled(player thePlayer)

Client

bool isPlayerWastedScreenEnabled()

Arguments

thePlayerplayer
The player (server only).

Returns

true if on.

Example

if not isPlayerWastedScreenEnabled() then
    outputChatBox("Ekran śmierci rysuje serwer.")
end

See also