GET_GAMEPLAY_CAM_RELATIVE_HEADING
Returns the heading of the gameplay camera relative to the player ped's heading.
Signature
float GET_GAMEPLAY_CAM_RELATIVE_HEADING(); // 0xC4ABF536048998AA b1207Parameters
This native takes no parameters.
Facts
| Name | GET_GAMEPLAY_CAM_RELATIVE_HEADING |
|---|---|
| Hash | 0xC4ABF536048998AA |
| Namespace | |
| Returns | float |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xC4ABF536048998AA, -- GET_GAMEPLAY_CAM_RELATIVE_HEADING
Citizen.ResultAsFloat()
)
print(result)const result = Citizen.invokeNative("0xC4ABF536048998AA", // GET_GAMEPLAY_CAM_RELATIVE_HEADING
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0xC4ABF536048998AA); // GET_GAMEPLAY_CAM_RELATIVE_HEADINGRelated CAMERA natives
- GET_GAMEPLAY_CAM_RELATIVE_PITCH
- GET_GAMEPLAY_CAM_ROT
- GET_GAMEPLAY_CAM_COORD
- GET_GAMEPLAY_CAM_FOV
- SET_GAMEPLAY_CAM_RELATIVE_HEADING
- _SET_GAMEPLAY_CAM_INITIAL_HEADING
- SET_FIRST_PERSON_AIM_CAM_RELATIVE_HEADING_LIMITS_THIS_UPDATE
- SET_GAMEPLAY_CAM_RELATIVE_PITCH
- SET_THIRD_PERSON_CAM_RELATIVE_HEADING_LIMITS_THIS_UPDATE
- GET_CAM_COORD
- GET_CAM_FOV
- GET_CAM_ROT
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.