The Lab
FIRE native

START_SCRIPT_FIRE

returns FireId9 paramsbuild 1207

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

C
FireId START_SCRIPT_FIRE(float x, float y, float z, int p3, float p4, BOOL p5, const char* soundsetName, float p7, int p8); // 0x6B83617E04503888 b1207

Parameters

#NameType
1xfloat
2yfloat
3zfloat
4p3int
5p4float
6p5BOOL
7soundsetNameconst char*
8p7float
9p8int

Facts

Facts about START_SCRIPT_FIRE
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.

Lua
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)
JavaScript
// 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)
C#
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
);
All FIRE natives

Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.