Skip to main content

Gameplay::disablePoliceRestart

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​

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

Required Arguments​

  • policeIndex: int
  • toggle: Boolean

Return value​

  • Undefined

Example​

```js // todo ```

See also​