You can use an independent model for the window, attach it to the car using vec_for_vertex() and break it using different frames in the model and using ent_frame(). If you want that the window breaks but stays in its place, you can use an animated sprite.