IReeceI Posted May 28, 2014 Report Share Posted May 28, 2014 Hey guy we can get alot of our edits working , But cant get this one to work ! this is just random barracks for round cherno ect ! Can some look at it please Thinks it the first bit.... if (isServer) then { _vehicle_11 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [10403.337, 2269.3726, 0.15784912], [], 0, "CAN_COLLIDE"]; _vehicle_1 = _this; _this setDir 38.668072; _this setPos [10403.337, 2269.3726, 0.15784912]; }; _vehicle_2 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [10429.427, 2121.325, 0.19596574], [], 0, "CAN_COLLIDE"]; _vehicle_2 = _this; _this setDir -22.493492; _this setPos [10429.427, 2121.325, 0.19596574]; }; _vehicle_3 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [10598.789, 2322.709, 2.7179718e-005], [], 0, "CAN_COLLIDE"]; _vehicle_3 = _this; _this setDir 53.010384; _this setPos [10598.789, 2322.709, 2.7179718e-005]; }; _vehicle_4 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [10607.743, 2329.4026, 2.8610229e-006], [], 0, "CAN_COLLIDE"]; _vehicle_4 = _this; _this setDir 53.76075; _this setPos [10607.743, 2329.4026, 2.8610229e-006]; }; Many thanks ... HAve no way of sending whole file :( Link to comment Share on other sites More sharing options...
Triage Posted May 28, 2014 Report Share Posted May 28, 2014 Look at this part here _vehicle_11 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [10403.337, 2269.3726, 0.15784912], [], 0, "CAN_COLLIDE"]; _vehicle_1 = _this; _this setDir 38.668072; _this setPos [10403.337, 2269.3726, 0.15784912]; }; Change this _vehicle_11 = objNull; To this _vehicle_1 = objNull; It should work now. Your "_vehicle_11 = objNull;" was not matching your " _vehicle_1 = _this;" Hope this helped ya :rolleyes: Link to comment Share on other sites More sharing options...
Fully Posted June 2, 2014 Report Share Posted June 2, 2014 ^not only that, but to make it work you need a closing bracket at the bottom =) }; if (isServer) then { _vehicle_1 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [10403.337, 2269.3726, 0.15784912], [], 0, "CAN_COLLIDE"]; _vehicle_1 = _this; _this setDir 38.668072; _this setPos [10403.337, 2269.3726, 0.15784912]; }; _vehicle_2 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [10429.427, 2121.325, 0.19596574], [], 0, "CAN_COLLIDE"]; _vehicle_2 = _this; _this setDir -22.493492; _this setPos [10429.427, 2121.325, 0.19596574]; }; _vehicle_3 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [10598.789, 2322.709, 2.7179718e-005], [], 0, "CAN_COLLIDE"]; _vehicle_3 = _this; _this setDir 53.010384; _this setPos [10598.789, 2322.709, 2.7179718e-005]; }; _vehicle_4 = objNull; if (true) then { _this = createVehicle ["Land_Mil_Barracks_i", [10607.743, 2329.4026, 2.8610229e-006], [], 0, "CAN_COLLIDE"]; _vehicle_4 = _this; _this setDir 53.76075; _this setPos [10607.743, 2329.4026, 2.8610229e-006]; }; }; Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now