The Lab
TASK native

_SET_INTIMIDATED_FACING_ANGLE

returns void4 paramsbuild 1207

Based on its name and signature, here is our best reading:

Sets the facing angle limits used by ped while intimidated.

Signature

C
void _SET_INTIMIDATED_FACING_ANGLE(Ped ped, BOOL useLimits, float minAngle, float maxAngle); // 0x0FE797DD9F70DFA6 b1207

Parameters

#NameType
1pedPed
2useLimitsBOOL
3minAnglefloat
4maxAnglefloat

Facts

Facts about _SET_INTIMIDATED_FACING_ANGLE
Name
_SET_INTIMIDATED_FACING_ANGLE
Hash
0x0FE797DD9F70DFA6
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(0x0FE797DD9F70DFA6, -- _SET_INTIMIDATED_FACING_ANGLE
  PlayerPedId(), -- Ped ped
  false, -- BOOL useLimits
  0.0, -- float minAngle
  0.0 -- float maxAngle
)
JavaScript
// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
Citizen.invokeNative("0x0FE797DD9F70DFA6", // _SET_INTIMIDATED_FACING_ANGLE
  PlayerPedId(), // Ped ped
  false, // BOOL useLimits
  0.0, // float minAngle
  0.0 // float maxAngle
);
C#
Function.Call((Hash)0x0FE797DD9F70DFA6, // _SET_INTIMIDATED_FACING_ANGLE
  API.PlayerPedId(), // Ped ped
  false, // BOOL useLimits
  0.0f, // float minAngle
  0.0f // float maxAngle
);
All TASK natives

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