How can I make it so people can't open locked cars by breaking the window?

In normal GTA V if a car is locked you break the window with your elbow and open the door from the inside, now the problem is: We have a lock plugin in our server, this locks the car perfectly, but if people press F their character breaks the window and steps in the vehicle :man_shrugging:

Is there a way I could disable that?

Thanks!

This. I have this exact same problem and dont know how to disable that. Is there any way? It’s by using the esx_vehiclelock script. It works perfectly fine but the character just destroys the window to enter the vehicle. Badly this is the ONLY script that seems to work and check for the ownership of the car correctly.