time: number execution time (must be greater than 0)
angle: the value of the number angle
Return value and type:
code:number succeeded (ErrorCode.OK) ErrorCode
The main effect of this method: The component is smoothly rotated to a specified angle
Specific use cases are as follows:
local code = Customui:SmoothRotateTo(playerid, uiid, elementid, time, angle)
if code == ErrorCode.OK then
print('Execution Successful' )
else
print('Execution failed')
end