GetVehicleTrailer

From SA-MP Wiki

Jump to: navigation, search

GetVehicleTrailer


Gets the ID of the trailer attached to a vehicle.


Parameters:
(vehicleid)
vehicleidID of the vehicle.


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


new gTrailer = GetVehicleTrailer(GetPlayerVehicleID(playerid));

Related Functions

The following functions might be useful as well, as they're related to this function in one way or another.

Personal tools