Interior::getInteriorAtCoords: Difference between revisions

From RAGE Multiplayer Wiki
(yay)
 
(yay)
 
Line 1: Line 1:
Returns interior ID from specified coordinates. If coordinates are outside, then it returns 0.<br><br>Example for VB.NET<br>Dim interiorID As Integer = Native.Function.Call(Of Integer)(Hash.GET_INTERIOR_AT_COORDS, X, Y, Z)
Returns interior ID from specified coordinates. If coordinates are outside, then it returns 0.<br><br>Example for VB.NET<br>Dim interiorID As Integer = Native.Function.Call(Of Integer)(Hash.GET_INTERIOR_AT_COORDS, X, Y, Z)
==Syntax==
==Syntax==
<syntaxhighlight lang="javascript">interior.getInteriorAtCoords(x, y, z);</syntaxhighlight>
<syntaxhighlight lang="javascript">mp.game.interior.getInteriorAtCoords(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==
{{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