Gameplay::disableHospitalRestart: 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:00, 22 July 2024

The game by default has 5 hospital respawn points. Disabling them all will cause the player to respawn at the last position they were.

- mlgthatsme

---------------------

Doesn't work....

Syntax

mp.game.gameplay.disableHospitalRestart(hospitalIndex, toggle);

Required Arguments

  • hospitalIndex: int
  • toggle: Boolean

Return value

  • Undefined

Example

// todo

See also