Skip
netMPEnglish

STREAMING

121 functions. All namespaces

native.addModelToCreatorBudget(modelHash: Hash): BOOL

ADD_MODEL_TO_CREATOR_BUDGET

native.allowPlayerSwitchAscent(): void

ALLOW_PLAYER_SWITCH_ASCENT

native.allowPlayerSwitchDescent(): void

ALLOW_PLAYER_SWITCH_DESCENT

native.allowPlayerSwitchOutro(): void

ALLOW_PLAYER_SWITCH_OUTRO

native.allowPlayerSwitchPan(): void

ALLOW_PLAYER_SWITCH_PAN

native.beginSrl(): void

BEGIN_SRL

native.clearFocus(): void

CLEAR_FOCUS

native.clearHdArea(): void

CLEAR_HD_AREA

native.disableSwitchOutroFx(): void

DISABLE_SWITCH_OUTRO_FX

native.doesAnimDictExist(animDict: const char*): BOOL

DOES_ANIM_DICT_EXIST

native.enableSwitchPauseBeforeDescent(): void

ENABLE_SWITCH_PAUSE_BEFORE_DESCENT

native.endSrl(): void

END_SRL

native.forceAllowTimeBasedFadingThisFrame(): void

FORCE_ALLOW_TIME_BASED_FADING_THIS_FRAME

native.getGlobalWaterFile(): int

GET_GLOBAL_WATER_FILE

native.getIdealPlayerSwitchType(x1: float, y1: float, z1: float, x2: float, y2: float, z2: float): int

GET_IDEAL_PLAYER_SWITCH_TYPE

native.getLodscale(): float

GET_LODSCALE

native.getNumberOfStreamingRequests(): int

GET_NUMBER_OF_STREAMING_REQUESTS

native.getPlayerShortSwitchState(): int

GET_PLAYER_SHORT_SWITCH_STATE

native.getPlayerSwitchInterpOutCurrentTime(): int

GET_PLAYER_SWITCH_INTERP_OUT_CURRENT_TIME

native.getPlayerSwitchInterpOutDuration(): int

GET_PLAYER_SWITCH_INTERP_OUT_DURATION

native.getPlayerSwitchJumpCutIndex(): int

GET_PLAYER_SWITCH_JUMP_CUT_INDEX

native.getPlayerSwitchState(): int

GET_PLAYER_SWITCH_STATE

native.getPlayerSwitchType(): int

GET_PLAYER_SWITCH_TYPE

native.getTotalModelCost(modelHash: Hash): float

_GET_TOTAL_MODEL_COST

native.getUsedCreatorBudget(): float

GET_USED_CREATOR_BUDGET

native.hasAnimDictLoaded(animDict: const char*): BOOL

HAS_ANIM_DICT_LOADED

native.hasAnimSetLoaded(animSet: const char*): BOOL

HAS_ANIM_SET_LOADED

native.hasClipSetLoaded(clipSet: const char*): BOOL

HAS_CLIP_SET_LOADED

native.hasCollisionForModelLoaded(model: Hash): BOOL

HAS_COLLISION_FOR_MODEL_LOADED

native.hasModelLoaded(model: Hash): BOOL

HAS_MODEL_LOADED

native.hasNamedPtfxAssetLoaded(fxName: const char*): BOOL

HAS_NAMED_PTFX_ASSET_LOADED

native.hasPtfxAssetLoaded(): BOOL

HAS_PTFX_ASSET_LOADED

native.initCreatorBudget(): void

INIT_CREATOR_BUDGET

native.iplGroupSwapCancel(): void

IPL_GROUP_SWAP_CANCEL

native.iplGroupSwapFinish(): void

IPL_GROUP_SWAP_FINISH

native.iplGroupSwapIsActive(): BOOL

IPL_GROUP_SWAP_IS_ACTIVE

native.iplGroupSwapIsReady(): BOOL

IPL_GROUP_SWAP_IS_READY

native.iplGroupSwapStart(iplName1: const char*, iplName2: const char*): void

IPL_GROUP_SWAP_START

native.isEntityFocus(entity: Entity): BOOL

IS_ENTITY_FOCUS

native.isIplActive(iplName: const char*): BOOL

IS_IPL_ACTIVE

native.isModelAPed(model: Hash): BOOL

IS_MODEL_A_PED

native.isModelAVehicle(model: Hash): BOOL

IS_MODEL_A_VEHICLE

native.isModelInCdimage(model: Hash): BOOL

IS_MODEL_IN_CDIMAGE

native.isModelValid(model: Hash): BOOL

IS_MODEL_VALID

native.isNetworkLoadingScene(): BOOL

IS_NETWORK_LOADING_SCENE

native.isNewLoadSceneActive(): BOOL

IS_NEW_LOAD_SCENE_ACTIVE

native.isNewLoadSceneLoaded(): BOOL

IS_NEW_LOAD_SCENE_LOADED

native.isPlayerSwitchInProgress(): BOOL

IS_PLAYER_SWITCH_IN_PROGRESS

native.isSafeToStartPlayerSwitch(): BOOL

IS_SAFE_TO_START_PLAYER_SWITCH

native.isSrlLoaded(): BOOL

IS_SRL_LOADED

native.isStreamvolActive(): BOOL

IS_STREAMVOL_ACTIVE

native.isSwitchReadyForDescent(): BOOL

IS_SWITCH_READY_FOR_DESCENT

native.isSwitchSkippingDescent(): BOOL

IS_SWITCH_SKIPPING_DESCENT

native.isSwitchToMultiFirstpartFinished(): BOOL

IS_SWITCH_TO_MULTI_FIRSTPART_FINISHED

native.loadAllObjectsNow(): void

LOAD_ALL_OBJECTS_NOW

native.loadGlobalWaterFile(waterType: int): void

LOAD_GLOBAL_WATER_FILE

native.loadScene(x: float, y: float, z: float): void

LOAD_SCENE

native.newLoadSceneStart(posX: float, posY: float, posZ: float, offsetX: float, offsetY: float, offsetZ: float, radius: float, p7: int): BOOL

NEW_LOAD_SCENE_START

native.newLoadSceneStartSphere(x: float, y: float, z: float, radius: float, p4: Any): BOOL

NEW_LOAD_SCENE_START_SPHERE

native.newLoadSceneStop(): void

NEW_LOAD_SCENE_STOP

native.overrideLodscaleThisFrame(scaling: float): void

OVERRIDE_LODSCALE_THIS_FRAME

native.prefetchSrl(srl: const char*): void

PREFETCH_SRL

native.remapLodscaleRangeThisFrame(p0: float, p1: float, p2: float, p3: float): void

REMAP_LODSCALE_RANGE_THIS_FRAME

native.removeAnimDict(animDict: const char*): void

REMOVE_ANIM_DICT

native.removeAnimSet(animSet: const char*): void

REMOVE_ANIM_SET

native.removeClipSet(clipSet: const char*): void

REMOVE_CLIP_SET

native.removeIpl(iplName: const char*): void

REMOVE_IPL

native.removeModelFromCreatorBudget(modelHash: Hash): void

REMOVE_MODEL_FROM_CREATOR_BUDGET

native.removeNamedPtfxAsset(fxName: const char*): void

REMOVE_NAMED_PTFX_ASSET

native.removePtfxAsset(): void

REMOVE_PTFX_ASSET

native.requestAdditionalCollisionAtCoord(x: float, y: float, z: float): void

REQUEST_ADDITIONAL_COLLISION_AT_COORD

native.requestAnimDict(animDict: const char*): void

REQUEST_ANIM_DICT

native.requestAnimSet(animSet: const char*): void

REQUEST_ANIM_SET

native.requestClipSet(clipSet: const char*): void

REQUEST_CLIP_SET

native.requestCollisionAtCoord(x: float, y: float, z: float): void

REQUEST_COLLISION_AT_COORD

native.requestCollisionForModel(model: Hash): void

REQUEST_COLLISION_FOR_MODEL

native.requestIpl(iplName: const char*): void

REQUEST_IPL

native.requestMenuPedModel(model: Hash): void

REQUEST_MENU_PED_MODEL

native.requestModel(model: Hash): void

REQUEST_MODEL

native.requestModelsInRoom(interior: Interior, roomName: const char*): void

REQUEST_MODELS_IN_ROOM

native.requestNamedPtfxAsset(fxName: const char*): void

REQUEST_NAMED_PTFX_ASSET

native.requestPtfxAsset(): void

REQUEST_PTFX_ASSET

native.setAllMapdataCulled(p0: Any): void

SET_ALL_MAPDATA_CULLED

native.setDitchPoliceModels(toggle: BOOL): void

SET_DITCH_POLICE_MODELS

native.setFocusEntity(entity: Entity): void

SET_FOCUS_ENTITY

native.setFocusPosAndVel(x: float, y: float, z: float, offsetX: float, offsetY: float, offsetZ: float): void

SET_FOCUS_POS_AND_VEL

native.setGamePausesForStreaming(toggle: BOOL): void

SET_GAME_PAUSES_FOR_STREAMING

native.setHdArea(x: float, y: float, z: float, radius: float): void

SET_HD_AREA

native.setInteriorActive(interiorID: int, toggle: BOOL): void

SET_INTERIOR_ACTIVE

native.setIslandEnabled(name: const char*, toggle: BOOL): void

SET_ISLAND_ENABLED

native.setMapdatacullboxEnabled(name: const char*, toggle: BOOL): void

SET_MAPDATACULLBOX_ENABLED

native.setModelAsNoLongerNeeded(model: Hash): void

SET_MODEL_AS_NO_LONGER_NEEDED

native.setPedPopulationBudget(p0: int): void

SET_PED_POPULATION_BUDGET

native.setPlayerShortSwitchStyle(p0: int): void

SET_PLAYER_SHORT_SWITCH_STYLE

native.setPlayerSwitchEstablishingShot(name: const char*): void

SET_PLAYER_SWITCH_ESTABLISHING_SHOT

native.setPlayerSwitchOutro(cameraCoordX: float, cameraCoordY: float, cameraCoordZ: float, camRotationX: float, camRotationY: float, camRotationZ: float, camFov: float, camFarClip: float, rotationOrder: int): void

SET_PLAYER_SWITCH_OUTRO

native.setReducePedModelBudget(toggle: BOOL): void

SET_REDUCE_PED_MODEL_BUDGET

native.setReduceVehicleModelBudget(toggle: BOOL): void

SET_REDUCE_VEHICLE_MODEL_BUDGET

native.setRenderHdOnly(toggle: BOOL): void

SET_RENDER_HD_ONLY

native.setRestoreFocusEntity(p0: Entity): void

SET_RESTORE_FOCUS_ENTITY

native.setSceneStreamingTracksCamPosThisFrame(): void

SET_SCENE_STREAMING_TRACKS_CAM_POS_THIS_FRAME

native.setSphericalStreamDistantHilodsThisFrame(): void

_SET_SPHERICAL_STREAM_DISTANT_HILODS_THIS_FRAME

native.setSrlForcePrestream(p0: Any): void

SET_SRL_FORCE_PRESTREAM

native.setSrlLongJumpMode(p0: BOOL): void

SET_SRL_LONG_JUMP_MODE

native.setSrlPostCutsceneCamera(p0: Any, p1: Any, p2: Any, p3: Any, p4: Any, p5: Any): void

SET_SRL_POST_CUTSCENE_CAMERA

native.setSrlReadaheadTimes(p0: Any, p1: Any, p2: Any, p3: Any): void

SET_SRL_READAHEAD_TIMES

native.setSrlTime(p0: float): void

SET_SRL_TIME

native.setStreaming(toggle: BOOL): void

SET_STREAMING

native.setVehiclePopulationBudget(p0: int): void

SET_VEHICLE_POPULATION_BUDGET

native.shutdownCreatorBudget(): void

SHUTDOWN_CREATOR_BUDGET

native.startPlayerSwitch(from: Ped, to: Ped, flags: int, switchType: int): void

START_PLAYER_SWITCH

native.stopPlayerSwitch(): void

STOP_PLAYER_SWITCH

native.streamvolCreateFrustum(p0: float, p1: float, p2: float, p3: float, p4: float, p5: float, p6: float, p7: Any, p8: Any): int

STREAMVOL_CREATE_FRUSTUM

native.streamvolCreateLine(p0: float, p1: float, p2: float, p3: float, p4: float, p5: float, p6: Any): int

STREAMVOL_CREATE_LINE

native.streamvolCreateSphere(x: float, y: float, z: float, rad: float, p4: Any, p5: Any): int

STREAMVOL_CREATE_SPHERE

native.streamvolDelete(unused: Any): void

STREAMVOL_DELETE

native.streamvolHasLoaded(unused: Any): BOOL

STREAMVOL_HAS_LOADED

native.streamvolIsValid(unused: Any): BOOL

STREAMVOL_IS_VALID

native.suppressHdMapStreamingThisFrame(): void

SUPPRESS_HD_MAP_STREAMING_THIS_FRAME

native.switchToMultiFirstpart(ped: Ped, flags: int, switchType: int): void

SWITCH_TO_MULTI_FIRSTPART

native.switchToMultiSecondpart(ped: Ped): void

SWITCH_TO_MULTI_SECONDPART