{"hash":"0xF9617BC6FAE61E08","ns":"FIRE","name":"GET_NUMBER_OF_FIRES_IN_RANGE","slug":"GET_NUMBER_OF_FIRES_IN_RANGE","official":true,"named":true,"luaName":"GetNumberOfFiresInRange","game":"rdr3","apiset":"client","returnType":"int","params":[{"name":"x","type":"float"},{"name":"y","type":"float"},{"name":"z","type":"float"},{"name":"radius","type":"float"}],"summary":"","descriptions":[],"examples":[],"aliases":[],"enums":[],"related":[],"build":"1207","gtaHash":"0x50CAD495A460B305","gtaJhash":"0x654D93B7","sources":["alloc8or"],"doc":1,"url":"https://natives.borderlinerp.com/natives/FIRE/GET_NUMBER_OF_FIRES_IN_RANGE","markdownUrl":"https://natives.borderlinerp.com/natives/FIRE/GET_NUMBER_OF_FIRES_IN_RANGE.md","snippets":{"lua":"local retval = GetNumberOfFiresInRange(x, y, z, radius)","luaInvoke":"local retval = Citizen.InvokeNative(0xF9617BC6FAE61E08, x, y, z, radius, Citizen.ResultAsInteger())","js":"const retval = GetNumberOfFiresInRange(x, y, z, radius);","jsInvoke":"const retval = Citizen.invokeNative('0xF9617BC6FAE61E08', x + 0.0000001, y + 0.0000001, z + 0.0000001, radius + 0.0000001, Citizen.returnResultAnyway(), Citizen.resultAsInteger());","csharp":"int retval = Function.Call<int>((Hash)0xF9617BC6FAE61E08, x, y, z, radius);","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."]}}