new gate_LV_POLIS_K2, g7 = 0; public OnGameModeInit() { gate_LV_POLIS_K2 = CreateDynamicObject(968, 2238.216796, 2450.247070, 10.698654, 0.000000, -90.299934, -89.700180, 0, 0, -1, 300.000, 300.000); return 1; } // Open procces MoveDynamicObject(gate_LV_POLIS_K2, 2238.216796, 2450.247070, 10.698654, 3.0, 0.000000, -0.999919, -89.700180); g7 = 1; SetTimer("LV_POLIS2", 3005, false); // Off procces g7 = 0; MoveDynamicObject(gate_LV_POLIS_K2, 2238.216796, 2450.247070, 10.698654, 3.0, 0.000000, -90.299934, -89.700180);
This function can be used to make objects rotate smoothly. In order to achieve this however, the object must also be moved is what wiki says.
This means that you need to move the object as well, not just rotate it, otherwise you won't even notice that it was rotating, it will be just too quick. I had the same problem, just add a little to the y coordinate and decrease the speed like I did and it will rotate smoothly. |
MoveDynamicObject(gate_LV_POLIS_K2, 2238.216796, 2450.247070, 10.698654 + 0.01, 0.5, 0.000000, -0.999919, -89.700180);