{"hash":"0x1854217C640B39EC","ns":"PED","name":"_SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_ENTITY","slug":"_SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_ENTITY","official":false,"named":true,"luaName":"SetPedDefensiveSphereAttachedToEntity","game":"rdr3","apiset":"client","returnType":"void","params":[{"name":"ped","type":"Ped"},{"name":"entity","type":"Entity"},{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"radius","type":"float"},{"name":"p6","type":"int"},{"name":"p7","type":"BOOL"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/PED/_SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_ENTITY","markdownUrl":"https://natives.borderlinerp.com/natives/PED/_SET_PED_DEFENSIVE_SPHERE_ATTACHED_TO_ENTITY.md","snippets":{"lua":"SetPedDefensiveSphereAttachedToEntity(ped, entity, x, y, z, radius, p6, p7)","luaInvoke":"Citizen.InvokeNative(0x1854217C640B39EC, ped, entity, x, y, z, radius, p6, p7)","js":"SetPedDefensiveSphereAttachedToEntity(ped, entity, x, y, z, radius, p6, p7);","jsInvoke":"Citizen.invokeNative('0x1854217C640B39EC', ped, entity, x + 0.0000001, y + 0.0000001, z + 0.0000001, radius + 0.0000001, p6, p7);","csharp":"Function.Call((Hash)0x1854217C640B39EC, ped, entity, x, y, z, radius, p6, p7);","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.","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."]}}