Client · JavaScript & Lua

GTA V Interior natives

Interiors, rooms and entity sets.

The 45 natives of the game’s INTERIOR namespace, as LS:MP client scripts call them: global functions with the same arguments in JavaScript and in Lua. Each one has its own page, with its signature, a call in both languages, its parameters and what it returns.

NativeGame nameHash
getInteriorHeadingGET_INTERIOR_HEADING0xF49B58631D9E22D9
getInteriorLocationAndNamehashGET_INTERIOR_LOCATION_AND_NAMEHASH0x252BDC06B73FA6EA
getInteriorGroupIdGET_INTERIOR_GROUP_ID0xE4A84ABF135EF91A
getOffsetFromInteriorInWorldCoordsGET_OFFSET_FROM_INTERIOR_IN_WORLD_COORDS0x9E3B3E6D66F6E22F
isInteriorSceneIS_INTERIOR_SCENE0xBC72B5D7A1CBD54D
isValidInteriorIS_VALID_INTERIOR0x26B0E73D7EAAF4D3
clearRoomForEntityCLEAR_ROOM_FOR_ENTITY0xB365FC0C4E27FFA7
forceRoomForEntityFORCE_ROOM_FOR_ENTITY0x52923C4710DD9907
getRoomKeyFromEntityGET_ROOM_KEY_FROM_ENTITY0x47C2A06D4F5F424B
getKeyForEntityInRoomGET_KEY_FOR_ENTITY_IN_ROOM0x399685DB942336BC
getInteriorFromEntityGET_INTERIOR_FROM_ENTITY0x2107BA504071A6BB
retainEntityInInteriorRETAIN_ENTITY_IN_INTERIOR0x82EBB79E258FA2B7
clearInteriorStateOfEntityCLEAR_INTERIOR_STATE_OF_ENTITY0x85D5422B2039A70D
forceActivatingTrackingOnEntityFORCE_ACTIVATING_TRACKING_ON_ENTITY0x38C1CB1CB119A016
forceRoomForGameViewportFORCE_ROOM_FOR_GAME_VIEWPORT0x920D853F3E17F1DA
setRoomForGameViewportByNameSET_ROOM_FOR_GAME_VIEWPORT_BY_NAME0xAF348AFCB575A441
setRoomForGameViewportByKeySET_ROOM_FOR_GAME_VIEWPORT_BY_KEY0x405DC2AEF6AF95B9
getRoomKeyForGameViewportGET_ROOM_KEY_FOR_GAME_VIEWPORT0xA6575914D2A0B450
clearRoomForGameViewportCLEAR_ROOM_FOR_GAME_VIEWPORT0x23B59D8912F94246
getInteriorFromPrimaryViewGET_INTERIOR_FROM_PRIMARY_VIEW0xE7D267EC6CA966C3
getInteriorAtCoordsGET_INTERIOR_AT_COORDS0xB0F7F8663821D9C3
addPickupToInteriorRoomByNameADD_PICKUP_TO_INTERIOR_ROOM_BY_NAME0x3F6167F351168730
pinInteriorInMemoryPIN_INTERIOR_IN_MEMORY0x2CA429C029CCF247
unpinInteriorUNPIN_INTERIOR0x261CCE7EED010641
isInteriorReadyIS_INTERIOR_READY0x6726BDCCC1932F0E
setInteriorInUseSET_INTERIOR_IN_USE0x4C2330E61D3DEB56
getInteriorAtCoordsWithTypeGET_INTERIOR_AT_COORDS_WITH_TYPE0x05B7A89BD78797FC
getInteriorAtCoordsWithTypehashGET_INTERIOR_AT_COORDS_WITH_TYPEHASH0xF0F77ADB9F67E79D
activateInteriorGroupsUsingCameraACTIVATE_INTERIOR_GROUPS_USING_CAMERA0x483ACA1176CA93F1
isCollisionMarkedOutsideIS_COLLISION_MARKED_OUTSIDE0xEEA5AC2EDA7C33E8
getInteriorFromCollisionGET_INTERIOR_FROM_COLLISION0xEC4CF9FCB29A4424
enableStadiumProbesThisFrameENABLE_STADIUM_PROBES_THIS_FRAME0x7ECDF98587E92DEC
activateInteriorEntitySetACTIVATE_INTERIOR_ENTITY_SET0x55E86AF2712B36A1
deactivateInteriorEntitySetDEACTIVATE_INTERIOR_ENTITY_SET0x420BD37289EEE162
isInteriorEntitySetActiveIS_INTERIOR_ENTITY_SET_ACTIVE0x35F7DD45E8C0A16D
setInteriorEntitySetTintIndexSET_INTERIOR_ENTITY_SET_TINT_INDEX0xC1F1920BAF281317
refreshInteriorREFRESH_INTERIOR0x41F37C3427C75AE0
enableExteriorCullModelThisFrameENABLE_EXTERIOR_CULL_MODEL_THIS_FRAME0xA97F257D0151A6AB
enableShadowCullModelThisFrameENABLE_SHADOW_CULL_MODEL_THIS_FRAME0x50C375537449F369
disableInteriorDISABLE_INTERIOR0x6170941419D7D8EC
isInteriorDisabledIS_INTERIOR_DISABLED0xBC5115A5A939DD15
capInteriorCAP_INTERIOR0xD9175F941610DB54
isInteriorCappedIS_INTERIOR_CAPPED0x92BAC8ACF88CEC26
disableMetroSystemDISABLE_METRO_SYSTEM0x9E6542F0CE8E70A3
setIsExteriorOnlySET_IS_EXTERIOR_ONLY0x7241CCB7D020DB69

Other namespaces

Built-in25Script VM basics: timers, maths helpers, thread control.App data17Data blocks shared with the game's companion apps.Audio280Sounds, speech, music, radio, audio scenes and scripted conversations.Script brains11Script brains attached to objects, peds and world points.Camera248Scripted cameras, the gameplay camera, shakes, cinematic and hint cameras.Clock16In-game time and date, and the real-world clock.Cutscenes56Loading, playing and controlling cutscenes.Data files57Cloud data files and their dictionary and array structures.Decorators12Typed key/value decorators attached to entities.DLC14Presence and state of downloadable content.Entity189Anything placed in the world: position, rotation, health, attachment, collision, visibility.Events13AI and shocking events: adding, blocking and suppressing them.Shop metadata49Shop items, outfits, tattoos and weapon data declared by DLC metadata.Fire19Script fires and explosions.Graphics403Drawing: markers, lines, sprites, lights, particle effects, scaleform movies, timecycles and screen effects.HUD518Text, help and notifications, blips and the minimap, pause-menu and frontend components.IIS1The initial interactive screen shown when the game starts.Item sets9Script-side collections of entities and other items.Landing page4The game's landing page.Lobby8Legacy lobby state of the game's own multiplayer menu.Localization3Language and region of the game.Misc345Everything without a better home: weather, ground and area checks, maths, hashing, strings, game flow.Mobile phone25The in-game phone prop: position, rotation, scale and camera.Money357The game's online economy: earn and spend records, balances.Net shopping42The game's online catalog, baskets and transactions.Network883The game's own network layer: sessions, players, network ids, entity control, cloud content.Object166Props: creation, doors, pickups, breakable and animated objects.Controls50Player input: reading and disabling control actions, vibration, look inversion.Pathfinding60Road nodes, the navigation mesh and GPS routes.Ped614Characters: creation, appearance, health, groups, relationships, ragdoll, config flags.Physics49Ropes, and the physics state of entities.Player250The local player: wanted level, abilities, targeting, control, model, invincibility.Recording17Rockstar Editor recording control.Replay6Rockstar Editor replay and clip state.Save migration8Transfer of a saved game between platforms and accounts.Script38Game script threads and script events.Security3Tamper protection of script variables.Shape tests11Raycasts and the other world probes.Social Club84Social Club inbox, profanity checks, licence plates and presence.Stats338Player statistics, leaderboards and telemetry.Streaming121Loading assets: models, animation and texture dictionaries, particle assets, IPLs, focus.Tasks313AI tasks: movement, combat, animations, driving, scenarios and sequences.Vehicle774Vehicles: creation, mods, colours, doors, damage, handling flags.Water12Water height, waves and water probes.Weapon123Weapons, ammunition, components and weapon objects.Zones9Map zones and population schedules.

Search them in the interactive natives reference