The Lab
VEHICLE native

GET_ROTATION_OF_VEHICLE_RECORDING_AT_TIME

returns Vector33 paramsbuild 1207

Returns the rotation stored in vehicle recording recording at time.

Signature

C
Vector3 GET_ROTATION_OF_VEHICLE_RECORDING_AT_TIME(int recording, float time, const char* script); // 0x61787DD28B8CC0D5 b1207

Parameters

#NameType
1recordingint
2timefloat
3scriptconst char*

Facts

Facts about GET_ROTATION_OF_VEHICLE_RECORDING_AT_TIME
Name
GET_ROTATION_OF_VEHICLE_RECORDING_AT_TIME
Hash
0x61787DD28B8CC0D5
Namespace
Returns
Vector3
Game build
1207

Examples

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

Lua
local coords = Citizen.InvokeNative(0x61787DD28B8CC0D5, -- GET_ROTATION_OF_VEHICLE_RECORDING_AT_TIME
  0, -- int recording
  0.0, -- float time
  "text", -- const char* script
  Citizen.ResultAsVector()
)
print(coords.x, coords.y, coords.z)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const coords = Citizen.invokeNative("0x61787DD28B8CC0D5", // GET_ROTATION_OF_VEHICLE_RECORDING_AT_TIME
  0, // int recording
  0.0, // float time
  "text", // const char* script
  Citizen.resultAsVector()
);
const [x, y, z] = coords
C#
Vector3 coords = Function.Call<Vector3>((Hash)0x61787DD28B8CC0D5, // GET_ROTATION_OF_VEHICLE_RECORDING_AT_TIME
  0, // int recording
  0.0f, // float time
  "text" // const char* script
);
All VEHICLE natives

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