Client · JavaScript & Lua

GTA V Streaming natives

Loading assets: models, animation and texture dictionaries, particle assets, IPLs, focus.

The 121 natives of the game’s STREAMING 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
loadAllObjectsNowLOAD_ALL_OBJECTS_NOW0xBD6E84632DD4CB3F
loadSceneLOAD_SCENE0x4448EB75B4904BDB
networkUpdateLoadSceneNETWORK_UPDATE_LOAD_SCENE0xC4582015556D1C46
isNetworkLoadingSceneIS_NETWORK_LOADING_SCENE0x41CA5A33160EA4AB
setInteriorActiveSET_INTERIOR_ACTIVE0xE37B76C387BE28ED
requestModelREQUEST_MODEL0x963D27A58DF860AC
requestMenuPedModelREQUEST_MENU_PED_MODEL0xA0261AEF7ACFC51E
hasModelLoadedHAS_MODEL_LOADED0x98A4EB5D89A0C952
requestModelsInRoomREQUEST_MODELS_IN_ROOM0x8A7A40100EDFEC58
setModelAsNoLongerNeededSET_MODEL_AS_NO_LONGER_NEEDED0xE532F5D78798DAAB
isModelInCdimageIS_MODEL_IN_CDIMAGE0x35B9E0803292B641
isModelValidIS_MODEL_VALID0xC0296A2EDF545E92
isModelAPedIS_MODEL_A_PED0x75816577FEA6DAD5
isModelAVehicleIS_MODEL_A_VEHICLE0x19AAC8F07BFEC53E
requestCollisionAtCoordREQUEST_COLLISION_AT_COORD0x07503F7948F491A7
requestCollisionForModelREQUEST_COLLISION_FOR_MODEL0x923CB32A3B874FCB
hasCollisionForModelLoadedHAS_COLLISION_FOR_MODEL_LOADED0x22CCA434E368F03A
requestAdditionalCollisionAtCoordREQUEST_ADDITIONAL_COLLISION_AT_COORD0xC9156DC11411A9EA
doesAnimDictExistDOES_ANIM_DICT_EXIST0x2DA49C3B79856961
requestAnimDictREQUEST_ANIM_DICT0xD3BD40951412FEF6
hasAnimDictLoadedHAS_ANIM_DICT_LOADED0xD031A9162D01088C
removeAnimDictREMOVE_ANIM_DICT0xF66A602F829E2A06
requestAnimSetREQUEST_ANIM_SET0x6EA47DAE7FAD0EED
hasAnimSetLoadedHAS_ANIM_SET_LOADED0xC4EA073D86FB29B0
removeAnimSetREMOVE_ANIM_SET0x16350528F93024B3
requestClipSetREQUEST_CLIP_SET0xD2A71E1A77418A49
hasClipSetLoadedHAS_CLIP_SET_LOADED0x318234F4F3738AF3
removeClipSetREMOVE_CLIP_SET0x01F73A131C18CD94
requestIplREQUEST_IPL0x41B4893843BBDB74
removeIplREMOVE_IPL0xEE6C5AD3ECE0A82D
isIplActiveIS_IPL_ACTIVE0x88A741E44A2B3495
setStreamingSET_STREAMING0x6E0C692677008888
loadGlobalWaterFileLOAD_GLOBAL_WATER_FILE0x7E3F55ED251B76D3
getGlobalWaterFileGET_GLOBAL_WATER_FILE0xF741BD853611592D
setGamePausesForStreamingSET_GAME_PAUSES_FOR_STREAMING0x717CD6E6FAEBBEDC
setReducePedModelBudgetSET_REDUCE_PED_MODEL_BUDGET0x77B5F9A36BF96710
setReduceVehicleModelBudgetSET_REDUCE_VEHICLE_MODEL_BUDGET0x80C527893080CCF3
setDitchPoliceModelsSET_DITCH_POLICE_MODELS0x42CBE54462D92634
getNumberOfStreamingRequestsGET_NUMBER_OF_STREAMING_REQUESTS0x4060057271CEBC89
requestPtfxAssetREQUEST_PTFX_ASSET0x944955FB2A3935C8
hasPtfxAssetLoadedHAS_PTFX_ASSET_LOADED0xCA7D9B86ECA7481B
removePtfxAssetREMOVE_PTFX_ASSET0x88C6814073DD4A73
requestNamedPtfxAssetREQUEST_NAMED_PTFX_ASSET0xB80D8756B4668AB6
hasNamedPtfxAssetLoadedHAS_NAMED_PTFX_ASSET_LOADED0x8702416E512EC454
removeNamedPtfxAssetREMOVE_NAMED_PTFX_ASSET0x5F61EBBE1A00F96D
setVehiclePopulationBudgetSET_VEHICLE_POPULATION_BUDGET0xCB9E1EB3BE2AF4E9
setPedPopulationBudgetSET_PED_POPULATION_BUDGET0x8C95333CFC3340F3
clearFocusCLEAR_FOCUS0x31B73D1EA9F01DA2
setFocusPosAndVelSET_FOCUS_POS_AND_VEL0xBB7454BAFF08FE25
setFocusEntitySET_FOCUS_ENTITY0x198F77705FA0931D
isEntityFocusIS_ENTITY_FOCUS0x2DDFF3FB9075D747
setRestoreFocusEntitySET_RESTORE_FOCUS_ENTITY0x0811381EF5062FEC
setMapdatacullboxEnabledSET_MAPDATACULLBOX_ENABLED0xAF12610C644A35C9
setAllMapdataCulledSET_ALL_MAPDATA_CULLED0x4E52E752C76E7E7A
streamvolCreateSphereSTREAMVOL_CREATE_SPHERE0x219C7B8D53E429FD
streamvolCreateFrustumSTREAMVOL_CREATE_FRUSTUM0x1F3F018BC3AFA77C
streamvolCreateLineSTREAMVOL_CREATE_LINE0x0AD9710CEE2F590F
streamvolDeleteSTREAMVOL_DELETE0x1EE7D8DF4425F053
streamvolHasLoadedSTREAMVOL_HAS_LOADED0x7D41E9D2D17C5B2D
streamvolIsValidSTREAMVOL_IS_VALID0x07C313F94746702C
isStreamvolActiveIS_STREAMVOL_ACTIVE0xBC9823AB80A3DCAC
newLoadSceneStartNEW_LOAD_SCENE_START0x212A8D0D2BABFAC2
newLoadSceneStartSphereNEW_LOAD_SCENE_START_SPHERE0xACCFB4ACF53551B0
newLoadSceneStopNEW_LOAD_SCENE_STOP0xC197616D221FF4A4
isNewLoadSceneActiveIS_NEW_LOAD_SCENE_ACTIVE0xA41A05B6CB741B85
isNewLoadSceneLoadedIS_NEW_LOAD_SCENE_LOADED0x01B8247A7A8B9AD1
isSafeToStartPlayerSwitchIS_SAFE_TO_START_PLAYER_SWITCH0x71E7B2E657449AAD
startPlayerSwitchSTART_PLAYER_SWITCH0xFAA23F2CBA159D67
stopPlayerSwitchSTOP_PLAYER_SWITCH0x95C0A5BBDC189AA1
isPlayerSwitchInProgressIS_PLAYER_SWITCH_IN_PROGRESS0xD9D2CFFF49FAB35F
getPlayerSwitchTypeGET_PLAYER_SWITCH_TYPE0xB3C94A90D9FC9E62
getIdealPlayerSwitchTypeGET_IDEAL_PLAYER_SWITCH_TYPE0xB5D7B26B45720E05
getPlayerSwitchStateGET_PLAYER_SWITCH_STATE0x470555300D10B2A5
getPlayerShortSwitchStateGET_PLAYER_SHORT_SWITCH_STATE0x20F898A5D9782800
setPlayerShortSwitchStyleSET_PLAYER_SHORT_SWITCH_STYLE0x5F2013F8BC24EE69
getPlayerSwitchJumpCutIndexGET_PLAYER_SWITCH_JUMP_CUT_INDEX0x78C0D93253149435
setPlayerSwitchOutroSET_PLAYER_SWITCH_OUTRO0xC208B673CE446B61
setPlayerSwitchEstablishingShotSET_PLAYER_SWITCH_ESTABLISHING_SHOT0x0FDE9DBFC0A6BC65
allowPlayerSwitchPanALLOW_PLAYER_SWITCH_PAN0x43D1680C6D19A8E9
allowPlayerSwitchOutroALLOW_PLAYER_SWITCH_OUTRO0x74DE2E8739086740
allowPlayerSwitchAscentALLOW_PLAYER_SWITCH_ASCENT0x8E2A065ABDAE6994
allowPlayerSwitchDescentALLOW_PLAYER_SWITCH_DESCENT0xAD5FDF34B81BFE79
isSwitchReadyForDescentIS_SWITCH_READY_FOR_DESCENT0xDFA80CB25D0A19B3
enableSwitchPauseBeforeDescentENABLE_SWITCH_PAUSE_BEFORE_DESCENT0xD4793DFF3AF2ABCD
disableSwitchOutroFxDISABLE_SWITCH_OUTRO_FX0xBD605B8E0E18B3BB
switchToMultiFirstpartSWITCH_TO_MULTI_FIRSTPART0xAAB3200ED59016BC
switchToMultiSecondpartSWITCH_TO_MULTI_SECONDPART0xD8295AF639FD9CB8
isSwitchToMultiFirstpartFinishedIS_SWITCH_TO_MULTI_FIRSTPART_FINISHED0x933BBEEB8C61B5F4
getPlayerSwitchInterpOutDurationGET_PLAYER_SWITCH_INTERP_OUT_DURATION0x08C2D6C52A3104BB
getPlayerSwitchInterpOutCurrentTimeGET_PLAYER_SWITCH_INTERP_OUT_CURRENT_TIME0x5B48A06DD0E792A5
isSwitchSkippingDescentIS_SWITCH_SKIPPING_DESCENT0x5B74EA8CFD5E3E7E
setSceneStreamingTracksCamPosThisFrameSET_SCENE_STREAMING_TRACKS_CAM_POS_THIS_FRAME0x1E9057A74FD73E23
getLodscaleGET_LODSCALE0x0C15B0E443B2349D
overrideLodscaleThisFrameOVERRIDE_LODSCALE_THIS_FRAME0xA76359FC80B2438E
remapLodscaleRangeThisFrameREMAP_LODSCALE_RANGE_THIS_FRAME0xBED8CA5FF5E04113
suppressHdMapStreamingThisFrameSUPPRESS_HD_MAP_STREAMING_THIS_FRAME0x472397322E92A856
setRenderHdOnlySET_RENDER_HD_ONLY0x40AEFD1A244741F2
forceAllowTimeBasedFadingThisFrameFORCE_ALLOW_TIME_BASED_FADING_THIS_FRAME0x03F1A106BDA7DD3E
iplGroupSwapStartIPL_GROUP_SWAP_START0x95A7DABDDBB78AE7
iplGroupSwapCancelIPL_GROUP_SWAP_CANCEL0x63EB2B972A218CAC
iplGroupSwapIsReadyIPL_GROUP_SWAP_IS_READY0xFB199266061F820A
iplGroupSwapFinishIPL_GROUP_SWAP_FINISH0xF4A0DADB70F57FA6
iplGroupSwapIsActiveIPL_GROUP_SWAP_IS_ACTIVE0x5068F488DDB54DD8
prefetchSrlPREFETCH_SRL0x3D245789CE12982C
isSrlLoadedIS_SRL_LOADED0xD0263801A4C5B0BB
beginSrlBEGIN_SRL0x9BADDC94EF83B823
endSrlEND_SRL0x0A41540E63C9EE17
setSrlTimeSET_SRL_TIME0xA74A541C6884E7B8
setSrlPostCutsceneCameraSET_SRL_POST_CUTSCENE_CAMERA0xEF39EE20C537E98C
setSrlReadaheadTimesSET_SRL_READAHEAD_TIMES0xBEB2D9A1D9A8F55A
setSrlLongJumpModeSET_SRL_LONG_JUMP_MODE0x20C6C7E4EB082A7F
setSrlForcePrestreamSET_SRL_FORCE_PRESTREAM0xF8155A7F03DDFC8E
setHdAreaSET_HD_AREA0xB85F26619073E775
clearHdAreaCLEAR_HD_AREA0xCE58B1CFB9290813
initCreatorBudgetINIT_CREATOR_BUDGET0xB5A4DB34FE89B88A
shutdownCreatorBudgetSHUTDOWN_CREATOR_BUDGET0xCCE26000E9A6FAD7
addModelToCreatorBudgetADD_MODEL_TO_CREATOR_BUDGET0x0BC3144DEB678666
removeModelFromCreatorBudgetREMOVE_MODEL_FROM_CREATOR_BUDGET0xF086AD9354FAC3A3
getUsedCreatorBudgetGET_USED_CREATOR_BUDGET0x3D3D8B3BE5A83D35
setIslandEnabledSET_ISLAND_ENABLED0x9A9D1BA639675CF1
isGameInstalledNot in this buildIS_GAME_INSTALLED

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.Interior45Interiors, rooms and entity sets.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.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