DetachTrailerFromVehicle

Tags: vehicle

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);
  • 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.