12.11.2012, 18:03
Why dynamincs objects doesn't appear anymore? I even putted a timer to let them load but nothing, any help?
Under OnGameModeInit: LoadObjects(); |
// Rest SAPDLobby[0] = CreateDynamicObject(14819, 246.4050, 72.3000, 1003.6700, 0.0000, 0.0000, 180.0000); // SAPD Lobby Door Left SAPDLobby[1] = CreateDynamicObject(14819, 246.4050, 72.5750, 1003.6650, 0.0000, 0.0000, 0.0000); // SAPD Lobby Door Right SAPDLobby[2] = CreateDynamicObject(13360, 246.9850, 72.4500, 1003.7000, 0.0000, 0.0000, 180.0000); // SAPD Lobby Door Left Block SAPDLobby[3] = CreateDynamicObject(13360, 245.8330, 72.4500, 1003.7000, 0.0000, 0.0000, 180.0000); // SAPD Lobby Door Right Block SAPDCells[0] = CreateDynamicObject(14819,259.105194,90.812126,100 2.584350,0.000000,0.000000,-90.000000); // SAPD Cells Door Left SAPDCells[1] = CreateDynamicObject(14819,258.843353,90.840599,100 2.584350,0.000000,0.000000,91.000000); // SAPD Cells Door Right SAPDCells[2] = CreateDynamicObject(13360,258.949157,91.412040,100 2.528625,0.000000,0.000000,-90.000000); // SAPD Cells Door Left Block SAPDCells[3] = CreateDynamicObject(13360,258.949157,90.292076,100 2.528625,0.000000,0.000000,90.000000); // SAPD Cells Door Right Block SAPDBarrier = CreateDynamicObject(968, 1544.6943359375, -1630.73046875, 13.27956199646, 0.000000, 90, 90); // SAPD Barrier SAPDGate = CreateDynamicObject(971, 1588.6428222656, -1638.02734375, 15.240161895752, 0, 0, 181.03271484375); // SAPD Gate SAPDOffice[0] = CreateDynamicObject(13360,255.494674,85.290985,100 2.445312,0.000000,0.000000,0.000000); // SAPD Office Door Left SAPDOffice[1] = CreateDynamicObject(13360,254.380661,85.286033,100 2.445312,0.000000,0.000000,180.000000); // SAPD Office Door Right SAPDChief[0] = CreateDynamicObject(14819,222.281802,69.786598,100 5.079895,0.000000,0.000000,-90.000000);// Chief's Door Right SAPDChief[1] = CreateDynamicObject(14819,222.002853,69.801109,100 5.079895,0.000000,0.000000,-270.000000);// Chief's Door Left SAPDChief[2] = CreateDynamicObject(13360,222.120773,70.343833,100 5.128601,0.000000,0.000000,-90.000000); // Chief's Block Right SAPDChief[3] = CreateDynamicObject(13360,222.120773,69.220504,100 5.128601,0.000000,0.000000,-270.000000); // Chief's Block Left |
CreateDynamincObject
Format is: CreateDynamicObject(ID object, positionX,positionY,positionZ,rotationX,rotationY, rotationZ, 0,virtualworld, (put it -1 to allow all player see the object), (radius) );
So, you can try this: SAPDLobby[0] = CreateDynamicObject(14819, 246.4050, 72.3000, 1003.6700, 0.0000, 0.0000, 180.0000, 0,0,-1,200); // SAPD Lobby Door Left I hope its work |