The Lab
SAVE native

_SAVEGAME_HAS_SAVE_FAILED

returns BOOL0 paramsbuild 1207

Returns true if the most recent save attempt failed.

Signature

C
BOOL _SAVEGAME_HAS_SAVE_FAILED(); // 0x1431540BCA1A1BD2 b1207

Parameters

This native takes no parameters.

Facts

Facts about _SAVEGAME_HAS_SAVE_FAILED
Name
_SAVEGAME_HAS_SAVE_FAILED
Hash
0x1431540BCA1A1BD2
Namespace
Returns
BOOL
Game build
1207

Examples

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

Lua
local result = Citizen.InvokeNative(0x1431540BCA1A1BD2) -- _SAVEGAME_HAS_SAVE_FAILED
if result then
  -- ...
end
JavaScript
const result = Citizen.invokeNative("0x1431540BCA1A1BD2", // _SAVEGAME_HAS_SAVE_FAILED
  Citizen.returnResultAnyway()
);
if (result) {
  // ...
}
C#
bool result = Function.Call<bool>((Hash)0x1431540BCA1A1BD2); // _SAVEGAME_HAS_SAVE_FAILED
All SAVE natives

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