Interior::unkGetInteriorAtCoords: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Returns the interior ID at the given coords, but only if the unknown variable is set to 0, otherwise it will return 0.
Returns the interior ID at the given coords, but only if the unknown variable is set to 0, otherwise it will return 0.
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">interior.unkGetInteriorAtCoords(x, y, z, unk);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.interior.unkGetInteriorAtCoords(x, y, z, unk);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''x:''' float
*'''x:''' float
Line 11: Line 11:
==Example==
==Example==
<syntaxhighlight lang="javascript">
<syntaxhighlight lang="javascript">
todo
// todo
</syntaxhighlight>
</syntaxhighlight>
==See also==
==See also==
{{Interior_function_c}}
{{Interior_s_function_c}}
[[Category:Clientside API]]
[[Category:Clientside API]]
[[Category:TODO: Example]]
[[Category:TODO: Example]]

Latest revision as of 21:27, 6 May 2017