Community Forum

g_currentMission.vehiclesToSave on LS2011

Forum Overview >> Farming Simulator 2011

CategoryFarming Simulator 2011
Created27.11.2010 15:17


Claudio Accotardi (unknown) 27.11.2010 15:22
Hi,
I have a little question.
I convert my mod from fs2009 to fs2011 and not find vehiclesToSave.
On fs2011 not exist?
which he is the variable one replaces that it?
Thanks in advance
Best regards

Stefan Geiger - GIANTS Software 30.11.2010 10:17
Yes, this list was removed.

You can find all vehicles that should be save with this code:

for _,vehicle in pairs(g_currentMission.vehicles) do
if vehicle.isVehicleSaved then
-- vehicle is to be saved
end;
end;

Claudio Accotardi (unknown) 30.11.2010 21:33
Hi Stefan,
Thanks
Best regards


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