AttachTrailerToVehicle

From SA-MP Wiki

Jump to: navigation, search

AttachTrailerToVehicle


Attach a vehicle to another vehicle as a trailer.


Important Note: Will only work if both vehicles are streamed in.


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


This function does not return a specific value.


// makes 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.

Personal tools
In other languages