Jump to content

Featured Replies

Posted

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

  • Author

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")); 
    }
}


 

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

Thanks for your work.

I want save the game in the earliest slot but not auto save, which savetype should i use?

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...