The Lab
SAVE native

_SAVEGAME_GET_TEXT_LABEL_31

returns void2 paramsbuild 1207

Based on its name and signature, here is our best reading:

Appears to read a text label save variable (up to 31 characters) named variableName into p0.

Signature

C
void _SAVEGAME_GET_TEXT_LABEL_31(Any* p0, const char* variableName); // 0x4845E7E7643A908C b1207

Parameters

#NameType
1p0Any* (out pointer)
2variableNameconst char*

Facts

Facts about _SAVEGAME_GET_TEXT_LABEL_31
Name
_SAVEGAME_GET_TEXT_LABEL_31
Hash
0x4845E7E7643A908C
Namespace
Returns
void
Game build
1207

Examples

Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.

Lua
local p0 = Citizen.InvokeNative(0x4845E7E7643A908C, -- _SAVEGAME_GET_TEXT_LABEL_31
  Citizen.PointerValueInt(), -- Any* p0
  "text" -- const char* variableName
)
print(p0)
JavaScript
const p0 = Citizen.invokeNative("0x4845E7E7643A908C", // _SAVEGAME_GET_TEXT_LABEL_31
  Citizen.pointerValueInt(), // Any* p0
  "text" // const char* variableName
);
console.log(p0)
C#
var p0Arg = new OutputArgument();
Function.Call((Hash)0x4845E7E7643A908C, // _SAVEGAME_GET_TEXT_LABEL_31
  p0Arg, // Any* p0
  "text" // const char* variableName
);
int p0 = p0Arg.GetResult<int>();
All SAVE natives

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