Gameplay::disablePoliceRestart

From RAGE Multiplayer Wiki
Revision as of 10:06, 22 July 2024 by Shr0x (talk | contribs) (→‎See also)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Disables the spawn point at the police house on the specified index.

policeIndex: The police house index.
toggle: true to enable the spawn point, false to disable.

- Nacorpio

Syntax

mp.game.gameplay.disablePoliceRestart(policeIndex, toggle);

Required Arguments

  • policeIndex: int
  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also