Gameplay::addHospitalRestart: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:
Returns the index of the newly created hospital spawn point.<br><br>p3 might be radius?<br><br>- mlgthatsme
Returns the index of the newly created hospital spawn point.<br><br>p3 might be radius?<br><br>- mlgthatsme
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">gameplay.addHospitalRestart(x, y, z, p3, p4);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.gameplay.addHospitalRestart(x, y, z, p3, p4);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''x:''' float
*'''x:''' float
Line 12: Line 12:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Gameplay_function_c}}
{{Gameplay_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:06, 6 May 2017

Returns the index of the newly created hospital spawn point.

p3 might be radius?

- mlgthatsme

Syntax

mp.game.gameplay.addHospitalRestart(x, y, z, p3, p4);

Required Arguments

  • x: float
  • y: float
  • z: float
  • p3: float
  • p4: unknown (to be checked)

Return value

  • int

Example

// todo

See also

Template:Gameplay s function c