23.08.2010, 23:01
i want to when spawn trailer to attach it, this is code
it create that vehicle but it doesn't attach on mine truck.
pawn Код:
if(TakeTruck[playerid] == 1){
TakeTruckAttach[playerid] = CreateVehicle(450, 379.993804, 2542.577636, 16.539062, 163.325531, 0, 1, -1);
AttachTrailerToVehicle(TakeTruckAttach[playerid], GetPlayerVehicleID(playerid));
}