Zone::getZoneAtCoords: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
Line 1: Line 1:


==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">zone.getZoneAtCoords(x, y, z);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.zone.getZoneAtCoords(x, y, z);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''x:''' float
*'''x:''' float
Line 10: Line 10:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Zone_function_c}}
{{Zone_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Revision as of 21:35, 6 May 2017

Syntax

mp.game.zone.getZoneAtCoords(x, y, z);

Required Arguments

  • x: float
  • y: float
  • z: float

Return value

  • int

Example

// todo

See also

Template:Zone s function c