User Tools

Site Tools


script:ui_event:getroleicon

getRoleIcon

  • Parameters & Types:
    • playerid: number player ID
  • Return value and type:
    • ErrorCode.OK
    • iconid: the iconID of the number role
  • The main function of this method is to obtain the iconID of the character type icon
  • Specific use cases are as follows:
local result,iconid = Customui:getRoleIcon(playerid)
script/ui_event/getroleicon.txt · Last modified: 2024/06/14 08:15 by don