GET_NUMBER_OF_FIRES_IN_RANGE
Returns how many fires are burning within radius of the given coordinates.
Signature
int GET_NUMBER_OF_FIRES_IN_RANGE(float x, float y, float z, float radius); // 0xF9617BC6FAE61E08 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | x | float |
| 2 | y | float |
| 3 | z | float |
| 4 | radius | float |
Facts
| Name | GET_NUMBER_OF_FIRES_IN_RANGE |
|---|---|
| Hash | 0xF9617BC6FAE61E08 |
| Namespace | |
| Returns | int |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0xF9617BC6FAE61E08, -- GET_NUMBER_OF_FIRES_IN_RANGE
0.0, -- float x
0.0, -- float y
0.0, -- float z
0.0, -- float radius
Citizen.ResultAsInteger()
)
print(result)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const result = Citizen.invokeNative("0xF9617BC6FAE61E08", // GET_NUMBER_OF_FIRES_IN_RANGE
0.0, // float x
0.0, // float y
0.0, // float z
0.0, // float radius
Citizen.resultAsInteger()
);
console.log(result)int result = Function.Call<int>((Hash)0xF9617BC6FAE61E08, // GET_NUMBER_OF_FIRES_IN_RANGE
0.0f, // float x
0.0f, // float y
0.0f, // float z
0.0f // float radius
);Related FIRE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.