{"hash":"0x819ADD5EF1742F47","ns":"LAW","name":"_SET_PED_LAW_BEHAVIOUR","slug":"_SET_PED_LAW_BEHAVIOUR","official":false,"named":true,"luaName":"SetPedLawBehaviour","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"behaviour","type":"int"}],"summary":"","descriptions":[{"source":"alloc8or","format":"text","body":"behaviour: https://github.com/Halen84/RDR3-Native-Flags-And-Enums/tree/main/CLawBehavior__Flags"}],"examples":[],"aliases":[],"enums":["CLawBehavior__Flags"],"related":[],"build":"1207","sources":["alloc8or"],"doc":2,"url":"https://natives.borderlinerp.com/natives/LAW/_SET_PED_LAW_BEHAVIOUR","markdownUrl":"https://natives.borderlinerp.com/natives/LAW/_SET_PED_LAW_BEHAVIOUR.md","snippets":{"lua":"SetPedLawBehaviour(ped, behaviour)","luaInvoke":"Citizen.InvokeNative(0x819ADD5EF1742F47, ped, behaviour)","js":"SetPedLawBehaviour(ped, behaviour);","jsInvoke":"Citizen.invokeNative('0x819ADD5EF1742F47', ped, behaviour);","csharp":"Function.Call((Hash)0x819ADD5EF1742F47, ped, behaviour);","notes":["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."]}}