5 m_DefaultTimeToComplete = time_to_complete_action;
10 if ( !action_data.m_Player )
18 Transport trans = vehCommand.GetTransport();
23 if (
Class.CastTo(car, trans) && car.EngineIsOn() )
30 if ( m_TimeElpased < m_TimeToComplete )
32 m_TimeElpased += action_data.m_Player.GetDeltaT();
33 m_TotalTimeElpased += action_data.m_Player.GetDeltaT();
38 m_SpentUnits.param1 = m_TimeElpased;
39 SetACData(m_SpentUnits);
41 OnCompletePogress(action_data);