RedM Natives

_SET_INTIMIDATED_FACING_ANGLE

Controls intimidated/hogtied ped facing.

Hash0x0FE797DD9F70DFA6
Runtime nameSetIntimidatedFacingAngle
NamespaceTASK
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_INTIMIDATED_FACING_ANGLE(Ped ped, BOOL useLimits, float minAngle, float maxAngle);

Parameters

NameTypeDescription
pedPed—
useLimitsBOOL—
minAnglefloat—
maxAnglefloat—

Returns void

Description

alloc8or RDR3 NativeDB

Controls intimidated/hogtied ped facing.
If useLimits=false, always face the player; if =true, clamp facing within [minAngle, maxAngle] degrees.
Angle note: the range defines the allowed yaw cone around the intimidator e.g., [0,90] permits a quarter-turn, [-30,30] a tight ±30°, and wider ranges allow more swivel.

VORPCORE RDR3natives

Configures how an intimidated/hogtied ped faces the player If useLimits is false (0), the ped always fully faces the player.If useLimits is true (1), the ped’s facing is restricted within the given angle range [minAngle, maxAngle]

Usage

Lua
SetIntimidatedFacingAngle(ped, useLimits, minAngle, maxAngle)

-- always works, by hash
Citizen.InvokeNative(0x0FE797DD9F70DFA6, ped, useLimits, minAngle, maxAngle)
JavaScript and C#
JavaScript
SetIntimidatedFacingAngle(ped, useLimits, minAngle, maxAngle);

// by hash
Citizen.invokeNative('0x0FE797DD9F70DFA6', ped, useLimits, minAngle + 0.0000001, maxAngle + 0.0000001);
C#
Function.Call((Hash)0x0FE797DD9F70DFA6, ped, useLimits, minAngle, maxAngle);
  • Float parameters: Lua integers (10, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write 10.0 or value + 0.0. The generated JS wrappers add 0.0000001 to non-zero floats for the same reason.
  • The name is a community guess and may change. If the named call is missing in your client build, use InvokeNative with the hash — it always works.

Examples

LUA · VORPCORE RDR3natives
--Set ped interaction personality to scripted timid robbery
Citizen.InvokeNative(0x24C82EF607105FAA, ped, joaat("SCRIPTEDTIMIDROB"))
-- Start intimidated task with the player
Citizen.InvokeNative(0x933ACC1A1771A288, ped, PlayerPedId(), 1, 0, 0, 0, 0, 0, 83968)
-- Make the ped face within the range 0.0 to -360.0 degrees
Citizen.InvokeNative(0x0FE797DD9F70DFA6, ped, 1, 0.0, -360.0)
-- Force the ped to always face the player
Citizen.InvokeNative(0x0FE797DD9F70DFA6, ped, 0)

Sources

alloc8or RDR3 NativeDB · VORPCORE RDR3natives

Something wrong or missing? Contribute a verified note — corrections ship through pull requests.