Jump to content

[SOLVED] How to save game via natives.


grumpypoo
 Share

Recommended Posts

Is anyone aware of how to save a game via the natives?

I've looked into


I also tried calling these native's by their hash - still nothing.

Edited by grumpypoo
Link to comment
Share on other sites

Wow i'm silly - 

SAVE::SAVEGAME_SAVE_SP(MISC::GET_HASH_KEY("SAVEGAMETYPE_SP_AUTOSAVE"));


This works, but requires you turn on auto save lol.
I had auto save disabled >.< 

Easy way to test for those that care - 

void update() 
{
	if (IsKeyJustUp(VK_F1))
    {
     	SAVE::SAVEGAME_SAVE_SP(MISC::GET_HASH_KEY("SAVEGAMETYPE_SP_AUTOSAVE")); 
    }
}


 

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • grumpypoo changed the title to [SOLVED] How to save game via natives.
  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...