The Lab
CAMERA native

POINT_CAM_AT_ENTITY

returns void6 paramsbuild 1207

Makes cam look at entity, optionally with an offset given by the following parameters.

Signature

C
void POINT_CAM_AT_ENTITY(Cam cam, Entity entity, float p2, float p3, float p4, BOOL p5); // 0xFC2867E6074D3A61 b1207

Parameters

#NameType
1camCam
2entityEntity
3p2float
4p3float
5p4float
6p5BOOL

Facts

Facts about POINT_CAM_AT_ENTITY
Name
POINT_CAM_AT_ENTITY
Hash
0xFC2867E6074D3A61
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(0xFC2867E6074D3A61, -- POINT_CAM_AT_ENTITY
  0, -- Cam cam
  PlayerPedId(), -- Entity entity
  0.0, -- float p2
  0.0, -- float p3
  0.0, -- float p4
  false -- BOOL p5
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xFC2867E6074D3A61", // POINT_CAM_AT_ENTITY
  0, // Cam cam
  PlayerPedId(), // Entity entity
  0.0, // float p2
  0.0, // float p3
  0.0, // float p4
  false // BOOL p5
);
C#
Function.Call((Hash)0xFC2867E6074D3A61, // POINT_CAM_AT_ENTITY
  0, // Cam cam
  API.PlayerPedId(), // Entity entity
  0.0f, // float p2
  0.0f, // float p3
  0.0f, // float p4
  false // BOOL p5
);
All CAMERA natives

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