Interior::getInteriorAtCoords: Difference between revisions
(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_s_function_c}} | ||
[[Category:Clientside API]] | [[Category:Clientside API]] | ||
[[Category:TODO: Example]] | [[Category:TODO: Example]] | ||
Latest revision as of 21:27, 6 May 2017
Returns interior ID from specified coordinates. If coordinates are outside, then it returns 0.
Example for VB.NET
Dim interiorID As Integer = Native.Function.Call(Of Integer)(Hash.GET_INTERIOR_AT_COORDS, X, Y, Z)
Syntax
mp.game.interior.getInteriorAtCoords(x, y, z);
Required Arguments
- x: float
- y: float
- z: float
Return value
- int
Example
// todo
See also
- mp.game.interior.addPickupToInteriorRoomByName
- mp.game.interior.areCoordsCollidingWithExterior
- mp.game.interior.capInterior
- mp.game.interior.disableInteriorProp
- mp.game.interior.disableInterior
- mp.game.interior.enableInteriorProp
- mp.game.interior.getInteriorAtCoordsWithType
- mp.game.interior.getInteriorAtCoords
- mp.game.interior.getInteriorFromCollision
- mp.game.interior.getInteriorGroupId
- mp.game.interior.getOffsetFromInteriorInWorldCoords
- mp.game.interior.hideMapObjectThisFrame
- mp.game.interior.isInteriorCapped
- mp.game.interior.isInteriorDisabled
- mp.game.interior.isInteriorPropEnabled
- mp.game.interior.isInteriorReady
- mp.game.interior.isValidInterior
- mp.game.interior.refreshInterior
- mp.game.interior.unkGetInteriorAtCoords
- mp.game.interior.unpinInterior