Here
void RotatePropToSpeed(string& asName, float afAcc, float afGoalSpeed, float afAxisX, float afAxisY, float afAxisZ, bool abResetSpeed, string& asOffsetArea);
Additional info:
Rotates the prop up to a set speed.asName - internal name
afAcc - acceleration
afGoalSpeed - desired speed
afAxisX - rotation around X axis
afAxisY - rotation around Y axis
afAxisZ - rotation around Z axis
abResetSpeed - determines whether the speed is resetted after goal speed is reached
asOffsetArea - the area to rotate around, if ””, then the center of the body is used
Note: The entity you want to rotate MUST be a “StaticObject” entity!
Try this, and experiment with each of the values. If the pipe is rotating the wrong way, you used an incorrect axis. You may need to use 2 axises if neither work alone. As I said, experiment.
Infrequently active. Don't expect an immediate response. Best to contact me at a different locale. If I create a thread, expect me to be quite active.