ApplyLocalPlayerRevivePatches

From GT-MP
Jump to: navigation, search
ApplyLocalPlayerRevivePatches
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Applies some patches to prevent the local player from respawning automatically at a hospital. Patches need to be applied only once & need to be applied before using reviveLocalPlayer.

Dialog-warning.png Note: This feature is currently not in the API, or is currently not accurate on the wiki due to upcoming API changes. New API functions and changes will be released with the next update.

Syntax

In Javascript
Client-Side Function

API.applyLocalPlayerRevivePatches();

Usage example

In Javascript
Client-Side Function

API.applyLocalPlayerRevivePatches();

References