_SET_PED_FIRING_PATTERN_2
Used in R* MP Script fm_mission_controller and various R* SP Scripts for ambush*
Hash
0x20E54854DEF6A54ARuntime name
SetPedFiringPattern_2NamespacePED
SideClient
NameCommunity guess
Docs
Since build1207
Signature
void _SET_PED_FIRING_PATTERN_2(Ped ped, Hash patternHash);Parameters
| Name | Type | Description |
|---|---|---|
ped | Ped | — |
patternHash | Hash | — |
Returns void
Description
Used in R* MP Script fm_mission_controller and various R* SP Scripts for ambush*
Usage
SetPedFiringPattern_2(ped, patternHash)
-- always works, by hash
Citizen.InvokeNative(0x20E54854DEF6A54A, ped, patternHash)JavaScript and C#
SetPedFiringPattern_2(ped, patternHash);
// by hash
Citizen.invokeNative('0x20E54854DEF6A54A', ped, patternHash);Function.Call((Hash)0x20E54854DEF6A54A, 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`. - 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.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.