_GET_STATUS_OF_SAVEGAME_OPERATION
Only 0 and 1 are valid for p0, higher values causes the native to return 2.
Hash
0x1B065A2BF7953815Runtime name
GetStatusOfSavegameOperationNamespaceMISC
SideClient
NameCommunity guess
Docs
Since build1207
Signature
int _GET_STATUS_OF_SAVEGAME_OPERATION(int p0);Parameters
| Name | Type | Description |
|---|---|---|
p0 | int | — |
Returns int
Description
Only 0 and 1 are valid for p0, higher values causes the native to return 2.
Usage
local retval = GetStatusOfSavegameOperation(p0)
-- always works, by hash
local retval = Citizen.InvokeNative(0x1B065A2BF7953815, p0, Citizen.ResultAsInteger())JavaScript and C#
const retval = GetStatusOfSavegameOperation(p0);
// by hash
const retval = Citizen.invokeNative('0x1B065A2BF7953815', p0, Citizen.returnResultAnyway(), Citizen.resultAsInteger());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
InvokeNativewith the hash — it always works.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.