முதன்மை உள்ளடக்கத்துக்குச் செல்லவும்

GetVehicleTrailer

Description​

Get the ID of the trailer attached to a vehicle.

NameDescription
vehicleidThe ID of the vehicle to get the trailer of.

Returns​

The vehicle ID of the trailer or 0 if no trailer is attached.

Examples​

new
trailerId = GetVehicleTrailer(vehicleid);
DetachTrailerFromVehicle(trailerId);

Notes​

எச்சரிக்கை

This function does not work for trains.