Doesn't attach object to vehicle
#1

I was trying to attach submarine to small boat and it doesn't work.

OnGameModeInit
Код:
	sub[0] = AddStaticVehicle(473, 391.2693, 337.8383, -0.0889, 37.0974, 1, 5); // Podmornica 1
	sub[1] = AddStaticVehicle(473, 375.7180, 324.6970, -0.1708, 31.9929, 1, 5); // Podmornica 2

	submarine[0] = CreateDynamicObject( 1612, 0, 0, 0, 0, 0, 0, 80 );
	submarine[1] = CreateDynamicObject( 1612, 0, 0, 0, 0, 0, 0, 80 );

	AttachObjectToVehicle( submarine[0], sub[0], 0.299999, -22.800050, 3.699998, 0.000000, 0.000000, 0.000000 );
	AttachObjectToVehicle( submarine[1], sub[1], 0.299999, -22.800050, 3.699998, 0.000000, 0.000000, 0.000000 );
Reply


Messages In This Thread
Doesn't attach object to vehicle - by ivanVU - 21.06.2013, 12:13
Re: Doesn't attach object to vehicle - by Goldilox - 21.06.2013, 16:35
Re: Doesn't attach object to vehicle - by Pottus - 21.06.2013, 17:17
Re: Doesn't attach object to vehicle - by ivanVU - 22.06.2013, 09:35

Forum Jump:


Users browsing this thread: 1 Guest(s)