DrawD3DRotatedTransparentAnimation(AnimationNumber, XPosition, YPosition, Width, Height, Angle.f, Transparency, Mode)

Draw animation with the Sprite 3D commands with rotation using a color key as transparent color, the transparency value can take a value from 0 to 255, the angle must be defined on radians. The mode define how is played the animation, you can use the constant #VMB_ANIMATION_PLAYLOOP to play it on continous mode, or #VMB_ANIMATION_PLAYONCE to play once.