Gameplay::pauseDeathArrestRestart

From RAGE Multiplayer Wiki
Revision as of 15:32, 29 April 2024 by Shr0x (talk | contribs) (Created page with "{{ClientsideJsFunction}} {{JSContainer| When the player is killed or arrested, they will respawn at the closest hospital or police station ===Required Params=== *'''pause:''' {{RageType|boolean}} ===Return value=== *''' {{RageType|void}} ''' ==Syntax== <syntaxhighlight lang="javascript"> mp.game.gameplay.pauseDeathArrestRestart(pause); </syntaxhighlight> ==Example== <syntaxhighlight lang="javascript"> //todo </syntaxhighlight> }} ==See also== {{Gameplay_definition_c}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Function

 JavaScript



JavaScript Syntax

When the player is killed or arrested, they will respawn at the closest hospital or police station

Required Params

  • pause: boolean

Return value

  • void

Syntax

mp.game.gameplay.pauseDeathArrestRestart(pause);

Example

//todo


See also