# MISC::_GET_STATUS_OF_SAVEGAME_OPERATION

- **Hash:** `0x1B065A2BF7953815`
- **Namespace:** MISC
- **Runtime name (Lua/JS):** `GetStatusOfSavegameOperation`
- **Side:** client (game native)
- **Name status:** community guess (may change)
- **Documentation:** described
- **Since game build:** 1207
- **URL:** https://natives.borderlinerp.com/natives/MISC/_GET_STATUS_OF_SAVEGAME_OPERATION

## Signature

```c
int _GET_STATUS_OF_SAVEGAME_OPERATION(int p0);
```

## Parameters

- `p0` (`int`)

## Returns

`int`

## Description

Only 0 and 1 are valid for p0, higher values causes the native to return 2.

## Usage

### Lua

```lua
local retval = GetStatusOfSavegameOperation(p0)

-- always available, by hash
local retval = Citizen.InvokeNative(0x1B065A2BF7953815, p0, Citizen.ResultAsInteger())
```

### JavaScript

```js
const retval = GetStatusOfSavegameOperation(p0);

// by hash
const retval = Citizen.invokeNative('0x1B065A2BF7953815', p0, Citizen.returnResultAnyway(), Citizen.resultAsInteger());
```

### C#

```csharp
int retval = Function.Call<int>((Hash)0x1B065A2BF7953815, p0);
```

- The name is a community guess and may change. If the named call is missing in your client build, use `InvokeNative` with the hash — it always works.

*Sources: alloc8or RDR3 NativeDB.*
