Game code
FIRE::START_SCRIPT_FIRE
0xFBAFC777947C9E81 ·RVA 0x03C170A0
Signature
FireId START_SCRIPT_FIRE(
Vector3 pos,
float p4,
Hash64 soundsetName,
float p7,
int p8
);
The scripts pass 6 values to this native; the decoded signature lists 5 (arguments the game doesn't read are left out).
Parameters 5
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Vector3 | pos |
– |
| 1 | float | p4 |
– |
| 2 | Hash64 | soundsetName |
RDR3 takes a string; GTA VI passes a 64-bit hash (the game reads 64 bits, and the scripts pass a value, not an address). |
| 3 | float | p7 |
– |
| 4 | int | p8 |
– |
Returns
FireId
Notes
- Names from RDR3; types from the game code, which differs from RDR3's signature:
- p3, in RDR3's signature, is not passed in GTA VI.
- p5, in RDR3's signature, is not passed in GTA VI.
Call it
// FIRE::START_SCRIPT_FIRE
auto result = invoke<FireId>(0xFBAFC777947C9E81, pos, p4, soundsetName, p7, p8);// FIRE::START_SCRIPT_FIRE
int result = Function.Call<int>((Hash)0xFBAFC777947C9E81, pos, p4, soundsetName, p7, p8);-- FIRE::START_SCRIPT_FIRE
local result = Citizen.InvokeNative(0xFBAFC777947C9E81, pos, p4, soundsetName, p7, p8)// FIRE::START_SCRIPT_FIRE
const result = Citizen.invokeNative("0xFBAFC777947C9E81", pos, p4, soundsetName, p7, p8);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.