SAVEGAME_SAVE_MP
Hash
0x1840F3B30ED0105FRuntime name
SavegameSaveMpNamespaceSAVE
SideClient
NameOfficial
Docs
Since build1207
Signature
BOOL SAVEGAME_SAVE_MP(Hash savegameType);Parameters
| Name | Type | Description |
|---|---|---|
savegameType | Hash | — |
Returns BOOL
Description
See SAVEGAME_SAVE_SP
Usage
local retval = SavegameSaveMp(savegameType)
-- always works, by hash
local retval = Citizen.InvokeNative(0x1840F3B30ED0105F, savegameType, Citizen.ReturnResultAnyway())JavaScript and C#
const retval = SavegameSaveMp(savegameType);
// by hash
const retval = Citizen.invokeNative('0x1840F3B30ED0105F', savegameType, Citizen.returnResultAnyway());bool retval = Function.Call<bool>((Hash)0x1840F3B30ED0105F, savegameType);- Hash parameters: the named function also accepts a string and hashes it for you;
Citizen.InvokeNativeneeds the number — passjoaat("name")or a backtick literal like`name`.
Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.