08.04.2010, 16:49
Quote:
Originally Posted by Thrarod
Get your position then get your angle then... Spawn trailer behind that point with use (x-4, y-5, z-2 (example not true)) also those may vary with your angle
![]() |
{
new gTrailer = GetVehicleTrailer(GetPlayerVehicleID(playerid));
DetachTrailerFromVehicle(GetPlayerVehicleID(player id));
DestroyVehicle(gTrailer);
}
new Float



GetPlayerPos(playerid,pX,pY,pZ);
new Float

GetVehicleZAngle(GetPlayerVehicleID(playerid),pA);
new newtrailer = CreateVehicle(450,pX+7,pY+7,pZ+7,pA,-1,-1,0);
AttachTrailerToVehicle(newtrailer,GetPlayerVehicle ID(playerid));
its not attaching.. simply not attaching... i was searching for xoomer mini mission and i found that he created the vehicle at 0.0,0.0,0.0 and the trailer attached so wth?... how my trailer not attaching to the truck it's just not normal..