AttachTrailerToVehicle

From SA-MP Wiki

Jump to: navigation, search

AttachTrailerToVehicle


Attach a trailer vehicle to a pulling vehicle


Parameters:
(trailerid, vehicleid)
traileridID of the trailer
vehicleidID of the pulling vehicle


This function does not return a specific value, it's best to simply ignore it.


//make vehicle 1 pull vehicle 5
AttachTrailerToVehicle(5,1);

Related Functions

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