get whether or not the roof window of a vehicle is open, applies to convertibles as well.
const isOpen = vehicle.roofState;
Real World Example
const vehicle = new alt.Vehicle('issi', 0, 0, 0, 0, 0, 0); const isOpen = vehicle.roofState;
These examples assume you have vehicle created or available on