The Lab
CAMERA native

SET_CAM_ACTIVE_WITH_INTERP

returns void5 paramsbuild 1207

Activates camTo and blends to it from camFrom over duration milliseconds.

Signature

C
void SET_CAM_ACTIVE_WITH_INTERP(Cam camTo, Cam camFrom, int duration, int easeLocation, int easeRotation); // 0x8B15AE2987C1AC8F b1207

Parameters

#NameType
1camToCam
2camFromCam
3durationint
4easeLocationint
5easeRotationint

Facts

Facts about SET_CAM_ACTIVE_WITH_INTERP
Name
SET_CAM_ACTIVE_WITH_INTERP
Hash
0x8B15AE2987C1AC8F
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
Citizen.InvokeNative(0x8B15AE2987C1AC8F, -- SET_CAM_ACTIVE_WITH_INTERP
  0, -- Cam camTo
  0, -- Cam camFrom
  0, -- int duration
  0, -- int easeLocation
  0 -- int easeRotation
)
JavaScript
Citizen.invokeNative("0x8B15AE2987C1AC8F", // SET_CAM_ACTIVE_WITH_INTERP
  0, // Cam camTo
  0, // Cam camFrom
  0, // int duration
  0, // int easeLocation
  0 // int easeRotation
);
C#
Function.Call((Hash)0x8B15AE2987C1AC8F, // SET_CAM_ACTIVE_WITH_INTERP
  0, // Cam camTo
  0, // Cam camFrom
  0, // int duration
  0, // int easeLocation
  0 // int easeRotation
);
All CAMERA natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.