setArmoredWindowHealth
Used to set the health of a window.
Declaration
vehicle.setArmoredWindowHealth(window: number, health: number): void;
Usage
vehicle.setArmoredWindowHealth(0, 100);
Real World Example
const vehicle = new alt.Vehicle('elegy', 0, 0, 0, 0, 0, 0);
vehicle.setArmoredWindowHealth(0, 100);
These examples assume you have vehicle created or available on server-side