Skip to main content

Gameplay::pauseDeathArrestRestart

Client-side function

JavaScript​

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