Interior::getInteriorAtCoordsWithType
Returns the interior ID representing the requested interior at that location (if found?). The supplied interior string is not the same as the one used to load the interior.
Use: INTERIOR::UNPIN_INTERIOR(INTERIOR::GET_INTERIOR_AT_COORDS_WITH_TYPE(x, y, z, interior))
Interior types include: 'V_Michael', 'V_Franklins', 'V_Franklinshouse', etc.. you can find them in the scripts.
Not a very useful native as you could just use GET_INTERIOR_AT_COORDS instead and get the same result, without even having to specify the interior type.
Syntax
mp.game.interior.getInteriorAtCoordsWithType(x, y, z, interiorType);
Required Arguments
- x: float
- y: float
- z: float
- interiorType: String
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