{"hash":"0x20E54854DEF6A54A","ns":"PED","name":"_SET_PED_FIRING_PATTERN_2","slug":"_SET_PED_FIRING_PATTERN_2","official":false,"named":true,"luaName":"SetPedFiringPattern_2","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"patternHash","type":"Hash"}],"summary":"Used in R* MP Script fm_mission_controller and various R* SP Scripts for ambush*","descriptions":[{"source":"alloc8or","format":"text","body":"Used in R* MP Script fm_mission_controller and various R* SP Scripts for ambush*"}],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/PED/_SET_PED_FIRING_PATTERN_2","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_SET_PED_FIRING_PATTERN_2.md","snippets":{"lua":"SetPedFiringPattern_2(ped, patternHash)","luaInvoke":"Citizen.InvokeNative(0x20E54854DEF6A54A, ped, patternHash)","js":"SetPedFiringPattern_2(ped, patternHash);","jsInvoke":"Citizen.invokeNative('0x20E54854DEF6A54A', ped, patternHash);","csharp":"Function.Call((Hash)0x20E54854DEF6A54A, ped, patternHash);","notes":["Hash parameters: the named function also accepts a string and hashes it for you; `Citizen.InvokeNative` needs the number — pass `joaat(\"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 `InvokeNative` with the hash — it always works."]}}