Get the ID of the trailer attached to a vehicle.
|vehicleid||The ID of the vehicle to get the trailer of.|
The vehicle ID of the trailer or 0 if no trailer is attached.
trailerId = GetVehicleTrailer(vehicleid);
This function does not work for trains.