RedM Natives

_SET_PED_ACTIVATE_WOUND_EFFECT

make blood fountain from your stomach: _SET_PED_ACTIVATE_WOUND_EFFECT(ped, unk, 2, 14411, 0.0, 0.1, 0.0, 0.0, 3.0, -1.0, 1.0)

Hash0xFFD54D9FE71B966A
Runtime nameSetPedActivateWoundEffect
NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207

Signature

void _SET_PED_ACTIVATE_WOUND_EFFECT(Ped ped, int p1, int boneId, float moveWoundLeftRight, float bloodFountainPressure, float yaw, float bloodFountainDirection, float bloodFountainPulse, float p8, float p9);

Parameters

NameTypeDescription
pedPed—
p1int—
boneIdint—
moveWoundLeftRightfloat—
bloodFountainPressurefloat—
yawfloat—
bloodFountainDirectionfloat—
bloodFountainPulsefloat—
p8float—
p9float—

Returns void

Description

alloc8or RDR3 NativeDB

bloodFountainPressure: visible effect from 0.0 till 20.0
yaw: visible effect from -3.0 till 3.0
bloodFountainDirection: 1.0 left side, -1.0 right side
bloodFountainPulse: from 0.1 (low) till 1.0 (fast)
make blood fountain from your stomach: _SET_PED_ACTIVATE_WOUND_EFFECT(ped, unk, 2, 14411, 0.0, 0.1, 0.0, 0.0, 3.0, -1.0, 1.0)

femga rdr3_discoveries · research notes

//0xFFD54D9FE71B966A  _SET_PED_WOUND_EFFECT(ped, 2, bone_id, float move_wound_up_down, float move_wound_forward_backward,  float move_wound_left_right, float blood_fountain_pressure, float yaw, float blood_fountain_direction, float blood_fountain_pulse)
            -- make blood fountain from wound

            -- blood_fountain_pressure: visible effect from 0.0 till 20.0
            -- yaw: visible effect from -3.0 till 3.0
            -- blood_fountain_direction: 1.0 left side, -1.0 right side
            -- blood_fountain_pulse: from 0.1 (low) till 1.0 (fast)

            --For example, make blood fountain from your stomach:
            Citizen.InvokeNative(0xFFD54D9FE71B966A,PlayerPedId(), 2, 14411, 0.0, 0.1,0.0, 0.0,3.0,-1.0, 1.0);

Usage

Lua
SetPedActivateWoundEffect(ped, p1, boneId, moveWoundLeftRight, bloodFountainPressure, yaw, bloodFountainDirection, bloodFountainPulse, p8, p9)

-- always works, by hash
Citizen.InvokeNative(0xFFD54D9FE71B966A, ped, p1, boneId, moveWoundLeftRight, bloodFountainPressure, yaw, bloodFountainDirection, bloodFountainPulse, p8, p9)
JavaScript and C#
JavaScript
SetPedActivateWoundEffect(ped, p1, boneId, moveWoundLeftRight, bloodFountainPressure, yaw, bloodFountainDirection, bloodFountainPulse, p8, p9);

// by hash
Citizen.invokeNative('0xFFD54D9FE71B966A', ped, p1, boneId, moveWoundLeftRight + 0.0000001, bloodFountainPressure + 0.0000001, yaw + 0.0000001, bloodFountainDirection + 0.0000001, bloodFountainPulse + 0.0000001, p8 + 0.0000001, p9 + 0.0000001);
C#
Function.Call((Hash)0xFFD54D9FE71B966A, ped, p1, boneId, moveWoundLeftRight, bloodFountainPressure, yaw, bloodFountainDirection, bloodFountainPulse, p8, p9);
  • 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.

Enums and flags

Sources

alloc8or RDR3 NativeDB · femga rdr3_discoveries

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