GameOver

From Nomad DB
Revision as of 19:23, 14 April 2020 by Wasdennnoch (talk | contribs) (Created page with "Plays a game over animation before reloading the last autosave. == Syntax == <syntaxhighlight lang="lua"> GameOver(playerId) </syntaxhighlight> * '''playerId''' ([[Player ID]...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Plays a game over animation before reloading the last autosave.

Syntax

GameOver(playerId)
  • playerId (Player ID): ID of the target player

Note: It seems that only the local player ID works on this function.

Example

The example below checks whether the entity ID of the local player is valid or not.

GameOver(GetLocalPlayerId())

Related Pages