AttachObjectToVehicle Help
#1

I did that :

Код:
new objectid1, objectid2, objectid3, objectid4;
under GameModeInit

Код:
objectid1 = CreateObject(2937, 0,0,0,   0.00, 0.00, 0.00);
objectid2 = CreateObject(2937, 0,0,0,   0.00, 0.00, 0.00);
objectid3 = CreateObject(2937, 0,0,0,   0.00, 0.00, 0.00);
objectid4 = CreateObject(2937, 0,0,0,   0.00, 0.00, 0.00);
OnPlayerEnterVehicle

Код:
new Mav = GetVehicleModel(vehicleid);
if(Mav==487)
{
       	AttachObjectToVehicle(objectid1, Mav, 1.09, 1.88, -1.0, 0.0, 0.0, 0.0);
	AttachObjectToVehicle(objectid2, Mav, 1.09, -0.60, -1.0, 0.0, 0.0, 0.0);
	AttachObjectToVehicle(objectid3, Mav, -1.12, 1.88, -1.0, 0.0, 0.0, 0.0);
	AttachObjectToVehicle(objectid4, Mav, -1.12, -0.60, -1.0, 0.0, 0.0, 0.0);
}
but it doesnt work, the objects arent attached at the mavericks
Reply
#2

Are they attached to any other vehicle.

And try just

Код:
 AttachObjectToVehicle(2937, 487, 1.09, 1.88, -1.0, 0.0, 0.0, 0.0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)