Gameplay::disablePoliceRestart: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
Line 12: Line 12:
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Gameplay_s_function_c}}
{{Gameplay_functions_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 10:06, 22 July 2024

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