script:ui_event:smoothscaleby
SmoothScaleBy
- Parameters & Types:
- playerid: number player ID
- uiid: the ID of the string interface
- elementid: the ID of the string component
- time: number execution time (must be greater than 0)
- w: number width
- h: number height
- Return value and type:
- code:number succeeded (ErrorCode.OK) ErrorCode
- The main effect of this method: the relative width and height of the components are smoothly changed
- Specific use cases are as follows:
local code = Customui:SmoothScaleBy(playerid, uiid, elementid, time, w, h) if code == ErrorCode.OK then print('Execution Successful' ) else print('Execution failed') end
script/ui_event/smoothscaleby.txt · Last modified: 2024/06/16 13:59 by don