START_SCRIPT_FIRE
Starts a script-controlled fire at the given coordinates and returns its fire handle.
Keep the returned handle and pass it to REMOVE_SCRIPT_FIRE to clean up.
Signature
FireId START_SCRIPT_FIRE(float x, float y, float z, int p3, float p4, BOOL p5, const char* soundsetName, float p7, int p8); // 0x6B83617E04503888 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | x | float |
| 2 | y | float |
| 3 | z | float |
| 4 | p3 | int |
| 5 | p4 | float |
| 6 | p5 | BOOL |
| 7 | soundsetName | const char* |
| 8 | p7 | float |
| 9 | p8 | int |
Facts
| Name | START_SCRIPT_FIRE |
|---|---|
| Hash | 0x6B83617E04503888 |
| Namespace | |
| Returns | FireId |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local fireId = Citizen.InvokeNative(0x6B83617E04503888, -- START_SCRIPT_FIRE
0.0, -- float x
0.0, -- float y
0.0, -- float z
0, -- int p3
0.0, -- float p4
false, -- BOOL p5
"text", -- const char* soundsetName
0.0, -- float p7
0, -- int p8
Citizen.ResultAsInteger()
)
print(fireId)// Whole JS numbers are sent as integers: pass floats like 1.5 (or n + 0.0000001), never 1.
const fireId = Citizen.invokeNative("0x6B83617E04503888", // START_SCRIPT_FIRE
0.0, // float x
0.0, // float y
0.0, // float z
0, // int p3
0.0, // float p4
false, // BOOL p5
"text", // const char* soundsetName
0.0, // float p7
0, // int p8
Citizen.resultAsInteger()
);
console.log(fireId)int fireId = Function.Call<int>((Hash)0x6B83617E04503888, // START_SCRIPT_FIRE
0.0f, // float x
0.0f, // float y
0.0f, // float z
0, // int p3
0.0f, // float p4
false, // BOOL p5
"text", // const char* soundsetName
0.0f, // float p7
0 // int p8
);Related FIRE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.