{"hash":"0x413C6C763A4AFFAD","ns":"PED","name":"SET_PED_DEFENSIVE_AREA_DIRECTION","slug":"SET_PED_DEFENSIVE_AREA_DIRECTION","official":true,"named":true,"luaName":"SetPedDefensiveAreaDirection","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"p1","type":"float"},{"name":"p2","type":"float"},{"name":"p3","type":"float"},{"name":"p4","type":"BOOL"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x413C6C763A4AFFAD","gtaJhash":"0xB66B0C9A","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/PED/SET_PED_DEFENSIVE_AREA_DIRECTION","markdownUrl":"https://natives.borderlinerp.com/natives/PED/SET_PED_DEFENSIVE_AREA_DIRECTION.md","snippets":{"lua":"SetPedDefensiveAreaDirection(ped, p1, p2, p3, p4)","luaInvoke":"Citizen.InvokeNative(0x413C6C763A4AFFAD, ped, p1, p2, p3, p4)","js":"SetPedDefensiveAreaDirection(ped, p1, p2, p3, p4);","jsInvoke":"Citizen.invokeNative('0x413C6C763A4AFFAD', ped, p1 + 0.0000001, p2 + 0.0000001, p3 + 0.0000001, p4);","csharp":"Function.Call((Hash)0x413C6C763A4AFFAD, ped, p1, p2, p3, p4);","notes":["Float parameters: Lua integers (`10`, or whole numbers decoded from NUI/JSON) are sent as ints and read as garbage. Write `10.0` or `value + 0.0`. The generated JS wrappers add `0.0000001` to non-zero floats for the same reason."]}}