Vehicle::setOutOfControl
Tested on the player's current vehicle. Unless you kill the driver, the vehicle doesn't loose control, however, if enabled, explodeOnImpact is still active. The moment you crash, boom.
Syntax
vehicle.setOutOfControl(killDriver, explodeOnImpact);
Required Arguments
- killDriver: Boolean
- explodeOnImpact: Boolean
Return value
- Undefined
Example
// todo