_SAVEGAME_GET_INT_2
Based on its name and signature, here is our best reading:
A variant of the integer save game reader that loads variableName into p0; how it differs from _SAVEGAME_GET_INT is unclear.
Signature
void _SAVEGAME_GET_INT_2(Any* p0, const char* variableName); // 0x529B9CCD0972AF4D b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Any* (out pointer) |
| 2 | variableName | const char* |
Facts
| Name | _SAVEGAME_GET_INT_2 |
|---|---|
| Hash | 0x529B9CCD0972AF4D |
| Namespace | |
| Returns | void |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local p0 = Citizen.InvokeNative(0x529B9CCD0972AF4D, -- _SAVEGAME_GET_INT_2
Citizen.PointerValueInt(), -- Any* p0
"text" -- const char* variableName
)
print(p0)const p0 = Citizen.invokeNative("0x529B9CCD0972AF4D", // _SAVEGAME_GET_INT_2
Citizen.pointerValueInt(), // Any* p0
"text" // const char* variableName
);
console.log(p0)var p0Arg = new OutputArgument();
Function.Call((Hash)0x529B9CCD0972AF4D, // _SAVEGAME_GET_INT_2
p0Arg, // Any* p0
"text" // const char* variableName
);
int p0 = p0Arg.GetResult<int>();Related SAVE natives
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.