SET_PED_FIRING_PATTERN
Used in various R* MP & SP Scripts
Hash
0x9AC577F5A12AD8A9Runtime name
SetPedFiringPatternNamespacePED
SideClient
NameOfficial
Docs
Since build1207
GTA V hash
0x9AC577F5A12AD8A9Signature
void SET_PED_FIRING_PATTERN(Ped ped, Hash patternHash);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
patternHash | Hash | — |
Returns void
Description
Used in various R* MP & SP Scripts
Usage
SetPedFiringPattern(ped, patternHash)
-- always works, by hash
Citizen.InvokeNative(0x9AC577F5A12AD8A9, ped, patternHash)JavaScript and C#
SetPedFiringPattern(ped, patternHash);
// by hash
Citizen.invokeNative('0x9AC577F5A12AD8A9', ped, patternHash);Function.Call((Hash)0x9AC577F5A12AD8A9, ped, patternHash);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.