05.11.2008, 13:23
just first check if the car is already towwing something with IsTrailerAttachedToVehicle(GetPlayerVehicleID(play erid)),
and if so, DetachTrailerFromVehicle(vid,GetPlayerVehicleID(pl ayerid)); and return 1;
Then start the attaching procedure.
and if so, DetachTrailerFromVehicle(vid,GetPlayerVehicleID(pl ayerid)); and return 1;
Then start the attaching procedure.