note Help Needed
This wiki is the result of an ongoing community effort — thank you all for helping!
If you want to provide changes to this page then please click here.
DetachTrailerFromVehicle
Description
Detach the connection between a vehicle and its trailer, if any.
Name | Description |
---|---|
vehicleid | ID of the pulling vehicle. |
Returns
This function does not return any specific values.
Examples
DetachTrailerFromVehicle(vehicleid);
Related Functions
- AttachTrailerToVehicle: Attach a trailer to a vehicle.
- IsTrailerAttachedToVehicle: Check if a trailer is attached to a vehicle.
- GetVehicleTrailer: Check what trailer a vehicle is pulling.