Перейти к содержанию

Gameplay::disablePoliceRestart

Материал из RAGE MP Wiki Archive

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

<syntaxhighlight lang="javascript">mp.game.gameplay.disablePoliceRestart(policeIndex, toggle);</syntaxhighlight>

Required Arguments

  • policeIndex: int
  • toggle: Boolean

Return value

  • Undefined

Example

<syntaxhighlight lang="javascript"> // todo </syntaxhighlight>

See also