The Lab
PED native

FORCE_ALL_HEADING_VALUES_TO_ALIGN

returns void1 parambuild 1207

Forces the various heading values of ped to match, preventing it from turning after a teleport.

Signature

C
void FORCE_ALL_HEADING_VALUES_TO_ALIGN(Ped ped); // 0xFF287323B0E2C69A b1207

Parameters

#NameType
1pedPed

Facts

Facts about FORCE_ALL_HEADING_VALUES_TO_ALIGN
Name
FORCE_ALL_HEADING_VALUES_TO_ALIGN
Hash
0xFF287323B0E2C69A
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(0xFF287323B0E2C69A, -- FORCE_ALL_HEADING_VALUES_TO_ALIGN
  PlayerPedId() -- Ped ped
)
JavaScript
Citizen.invokeNative("0xFF287323B0E2C69A", // FORCE_ALL_HEADING_VALUES_TO_ALIGN
  PlayerPedId() // Ped ped
);
C#
Function.Call((Hash)0xFF287323B0E2C69A, // FORCE_ALL_HEADING_VALUES_TO_ALIGN
  API.PlayerPedId() // Ped ped
);
All PED natives

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