_SAVEGAME_GET_FLOAT
Based on its name and signature, here is our best reading:
Appears to read the float save game variable variableName into the buffer p0.
Signature
void _SAVEGAME_GET_FLOAT(Any* p0, const char* variableName); // 0x35DEFECAE36D4FAE b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | p0 | Any* (out pointer) |
| 2 | variableName | const char* |
Facts
| Name | _SAVEGAME_GET_FLOAT |
|---|---|
| Hash | 0x35DEFECAE36D4FAE |
| 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(0x35DEFECAE36D4FAE, -- _SAVEGAME_GET_FLOAT
Citizen.PointerValueInt(), -- Any* p0
"text" -- const char* variableName
)
print(p0)const p0 = Citizen.invokeNative("0x35DEFECAE36D4FAE", // _SAVEGAME_GET_FLOAT
Citizen.pointerValueInt(), // Any* p0
"text" // const char* variableName
);
console.log(p0)var p0Arg = new OutputArgument();
Function.Call((Hash)0x35DEFECAE36D4FAE, // _SAVEGAME_GET_FLOAT
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.