Car keeps going

Hello, I have a little problem, I have a script for the car to break down, burst tires, etc., but my mistake is when the engine goes bad, and the car keeps going anyway, could someone help?

This native is works in your case

SetVehicleUndriveable(
	vehicle --[[ Vehicle ]], 
	toggle --[[ boolean ]]
)
1 Like

where can i put this script? and like that?

its not a script its a native line of code you would need to implement this yourself to a script like you car vehicle breakdown script