Gameplay::disablePoliceRestart

From RAGE Multiplayer Wiki
Revision as of 21:06, 6 May 2017 by Marty uploader (talk | contribs) (yay)

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

Template:Gameplay s function c