12.03.2012, 19:22
How many trailers could a train have?
For me, only 3 is working, maybe im doing wrong this is my code:
Is this correct or how do i do it?
For me, only 3 is working, maybe im doing wrong this is my code:
pawn Код:
tcar1 = AddStaticVehicleEx (537, -3.0568,-1017.9979,20.8383,92.1999, 0, 1, 15 );
tcar2 = AddStaticVehicleEx (569, -3.0568,-1017.9979,20.8383,92.1999, 0, 1, 15 );
tcar3 = AddStaticVehicleEx (569, -3.0568,-1017.9979,20.8383,92.1999, 0, 1, 15 );
tcar4 = AddStaticVehicleEx (569, -3.0568,-1017.9979,20.8383,92.1999, 0, 1, 15 );
tcar5 = AddStaticVehicleEx (569, -3.0568,-1017.9979,20.8383,92.1999, 0, 1, 15 );
tcar6 = AddStaticVehicleEx (569,-3.0568,-1017.9979,20.8383,92.1999, 0, 1, 15 );
tcar7 = AddStaticVehicleEx (569, -3.0568,-1017.9979,20.8383,92.1999, 0, 1, 15 );
AttachTrailerToVehicle(tcar1, tcar2);
AttachTrailerToVehicle(tcar2, tcar3);
AttachTrailerToVehicle(tcar3, tcar4);
AttachTrailerToVehicle(tcar4, tcar5);
AttachTrailerToVehicle(tcar5, tcar6);
AttachTrailerToVehicle(tcar6, tcar7);