_TASK_ANIMAL_BLEED_OUT
Makes the animal ped bleed out after being hit by killer with weaponHash, optionally fleeing first.
Signature
void _TASK_ANIMAL_BLEED_OUT(Ped ped, Ped killer, BOOL flee, Hash weaponHash, int p4, int boneId); // 0x30A768C30D385EC5 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | killer | Ped |
| 3 | flee | BOOL |
| 4 | weaponHash | Hash |
| 5 | p4 | int |
| 6 | boneId | int |
Facts
| Name | _TASK_ANIMAL_BLEED_OUT |
|---|---|
| Hash | 0x30A768C30D385EC5 |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
Citizen.InvokeNative(0x30A768C30D385EC5, -- _TASK_ANIMAL_BLEED_OUT
PlayerPedId(), -- Ped ped
PlayerPedId(), -- Ped killer
false, -- BOOL flee
GetHashKey("weapon_revolver_cattleman"), -- Hash weaponHash
0, -- int p4
0 -- int boneId
)Citizen.invokeNative("0x30A768C30D385EC5", // _TASK_ANIMAL_BLEED_OUT
PlayerPedId(), // Ped ped
PlayerPedId(), // Ped killer
false, // BOOL flee
GetHashKey("weapon_revolver_cattleman"), // Hash weaponHash
0, // int p4
0 // int boneId
);Function.Call((Hash)0x30A768C30D385EC5, // _TASK_ANIMAL_BLEED_OUT
API.PlayerPedId(), // Ped ped
API.PlayerPedId(), // Ped killer
false, // BOOL flee
(uint)API.GetHashKey("weapon_revolver_cattleman"), // Hash weaponHash
0, // int p4
0 // int boneId
);Related TASK natives
- _TASK_KNOCKED_OUT_SET_DURATION
- _TASK_KNOCKED_OUT_SET_TUNING
- CLEAR_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK
- IS_DRIVEBY_TASK_UNDERNEATH_DRIVING_TASK
- IS_MOUNTED_WEAPON_TASK_UNDERNEATH_DRIVING_TASK
- TASK_AMBIENT_ANIMAL_HUNT
- TASK_AMBIENT_ANIMAL_STALK
- TASK_ANIMAL_ALERTED
- TASK_ANIMAL_FLEE
- TASK_ANIMAL_INTERACTION
- TASK_ANIMAL_UNALERTED
- TASK_ANIMAL_WRITHE
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.