- Documentation
- Shared functions
- isPlayerWastedScreenEnabled
Function
isPlayerWastedScreenEnabled
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