_SET_INTIMIDATED_FACING_ANGLE
Controls intimidated/hogtied ped facing.
0x0FE797DD9F70DFA6SetIntimidatedFacingAngleSignature
void _SET_INTIMIDATED_FACING_ANGLE(Ped ped, BOOL useLimits, float minAngle, float maxAngle);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
useLimits | BOOL | — |
minAngle | float | — |
maxAngle | float | — |
Returns void
Description
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.
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
SetIntimidatedFacingAngle(ped, useLimits, minAngle, maxAngle)
-- always works, by hash
Citizen.InvokeNative(0x0FE797DD9F70DFA6, ped, useLimits, minAngle, maxAngle)JavaScript and C#
SetIntimidatedFacingAngle(ped, useLimits, minAngle, maxAngle);
// by hash
Citizen.invokeNative('0x0FE797DD9F70DFA6', ped, useLimits, minAngle + 0.0000001, maxAngle + 0.0000001);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. Write10.0orvalue + 0.0. The generated JS wrappers add0.0000001to 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
InvokeNativewith the hash — it always works.
Examples
--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.