31.03.2014, 14:02
Okay, this is some example of the part that don't work also..
i have changed in this createobject to dynamic object to test if it will work, so createdynamicobject is not the problem.
Quote:
boatn[0] = CreateDynamicObject(10230,-1306.59997559,1329.96997070,8.30000019,0.00000000, 0.00000000,0.00000000); //object(freighter_sfe) (1) boatn[1] = CreateDynamicObject(10140,-1291.87060547,1328.91845703,8.45700073,0.00000000, 0.00000000,0.00000000); //object(freig2_intsfe) (1) AttachObjectToObject(boatn[1], boatn[0], 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1); //CreateDynamicObject(1583,292.50000000,-138.69999695,1003.40002441,0.00000000,0.00000000,9 0.00000000); //object(tar_gun2) (1) //CreateDynamicObject(1584,292.70001221,-139.80000305,1003.09997559,0.00000000,0.00000000,2 68.00000000); //object(tar_gun1) (1) for(new i = 0; i < 1; i++) rotating[i] = -90; for(new i = 0; i < 20; i++) { if(i < 10) NounObject[i] = CreateDynamicObject(3930,560.3654+random(10),840.2 457+random(75),-44.00700073,0.00000000,0.00000000,0.00000000); else NounObject[i] = CreateDynamicObject(3930,615.3654+random(55),815.2 457+random(65),-43.6009,0.00000000,0.00000000,0.00000000); } |