Community Forum

Save extra data with save button

Forum Overview >> Farming Simulator 2009

CategoryFarming Simulator 2009
Created17.03.2010 12:44


Pierre S (Unknown) 17.03.2010 12:44
Hi.

I would like to save data at the same time I click on the button save the game
Is this possible?

Mfg.

@poc@lypse.

Stefan Geiger - GIANTS Software 17.03.2010 14:06
You could overwrite the QuickPlayMenu:saveSelectedGame() function, to call your saving code as well.

local oldSaveSelectedGame = QuickPlayMenu.saveSelectedGame

QuickPlayMenu.saveSelectedGame = function(self)
oldSaveSelectedGame(self);

-- here comes your code
end;

Pierre S (Unknown) 17.03.2010 19:33
Thx it's work ;)




Note: Log in to post. Create a new account here.