SET_PED_FIRING_PATTERN
Sets the firing pattern patternHash used by ped, such as full auto or burst fire.
Signature
void SET_PED_FIRING_PATTERN(Ped ped, Hash patternHash); // 0x9AC577F5A12AD8A9 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | ped | Ped |
| 2 | patternHash | Hash |
Facts
| Name | SET_PED_FIRING_PATTERN |
|---|---|
| Hash | 0x9AC577F5A12AD8A9 |
| 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(0x9AC577F5A12AD8A9, -- SET_PED_FIRING_PATTERN
PlayerPedId(), -- Ped ped
GetHashKey("name") -- Hash patternHash
)Citizen.invokeNative("0x9AC577F5A12AD8A9", // SET_PED_FIRING_PATTERN
PlayerPedId(), // Ped ped
GetHashKey("name") // Hash patternHash
);Function.Call((Hash)0x9AC577F5A12AD8A9, // SET_PED_FIRING_PATTERN
API.PlayerPedId(), // Ped ped
(uint)API.GetHashKey("name") // Hash patternHash
);Related PED natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.