18.12.2012, 19:41
I did that :
under GameModeInit
OnPlayerEnterVehicle
but it doesnt work, the objects arent attached at the mavericks
Код:
new objectid1, objectid2, objectid3, objectid4;
Код:
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);
Код:
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); }