The Lab
CAMERA native

SET_GAMEPLAY_COORD_HINT

returns void7 paramsbuild 1207

Points the gameplay camera towards (x, y, z) as a hint for duration milliseconds, with blend in and out times.

Signature

C
void SET_GAMEPLAY_COORD_HINT(float x, float y, float z, int duration, int blendOutDuration, int blendInDuration, Hash p6); // 0xFA33B8C69A4A6A0F b1207

Parameters

#NameType
1xfloat
2yfloat
3zfloat
4durationint
5blendOutDurationint
6blendInDurationint
7p6Hash

Facts

Facts about SET_GAMEPLAY_COORD_HINT
Name
SET_GAMEPLAY_COORD_HINT
Hash
0xFA33B8C69A4A6A0F
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(0xFA33B8C69A4A6A0F, -- SET_GAMEPLAY_COORD_HINT
  0.0, -- float x
  0.0, -- float y
  0.0, -- float z
  0, -- int duration
  0, -- int blendOutDuration
  0, -- int blendInDuration
  GetHashKey("name") -- Hash p6
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0xFA33B8C69A4A6A0F", // SET_GAMEPLAY_COORD_HINT
  0.0, // float x
  0.0, // float y
  0.0, // float z
  0, // int duration
  0, // int blendOutDuration
  0, // int blendInDuration
  GetHashKey("name") // Hash p6
);
C#
Function.Call((Hash)0xFA33B8C69A4A6A0F, // SET_GAMEPLAY_COORD_HINT
  0.0f, // float x
  0.0f, // float y
  0.0f, // float z
  0, // int duration
  0, // int blendOutDuration
  0, // int blendInDuration
  (uint)API.GetHashKey("name") // Hash p6
);
All CAMERA natives

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