feat(Vehicle Controller): Added vehicle window controls (#1607)

* feat(Overlay): Added Invisibility indicator and its able to save on unload
* feat(Vehicle Controller): Added vehicle window controls
This commit is contained in:
Sixhei Tartari
2023-07-05 23:51:19 +02:00
committed by GitHub
parent feeaa2ddbd
commit 13d5d81cea
8 changed files with 120 additions and 15 deletions

View File

@ -125,6 +125,14 @@ namespace big
vehicle::operate_vehicle_door(m_controlled_vehicle.handle, door, open);
}
void vehicle_control::operate_window(eWindowId window, bool open)
{
if (g.window.vehicle_control.operation_animation)
animated_vehicle_operation(self::ped);
vehicle::operate_vehicle_window(m_controlled_vehicle.handle, window, open);
}
void vehicle_control::operate_lights(bool headlights, bool highbeams)
{
if (g.window.vehicle_control.operation_animation)