fl_character_panel panelclient
Panel defined in plugin/views/cl_character_load.lua
Part of Characters System
A single character of the loading screen (fl_character_panel): shows its model with a
button that selects the character and a button that deletes it once the player has typed the
name of the character to confirm. A banned character is shown darkened, with a disabled
button that says so in place of the two.
Summary
Methods
Methods
Creates the model preview and the select and delete buttons.
Draws the panel through the theme's PaintCharPanel hook.
Parameters
- w Number
- h Number
Positions the model preview and the select and delete buttons. The select button takes the whole width when there is no delete button next to it.
Parameters
- w Number
- h Number
Sets the character shown by the panel and runs the PanelCharacterSet hook. A banned character gets a darkened model and a disabled button that says it is banned instead of the select and delete buttons; the buttons of the active character are hidden.
Parameters
- char_data Map networked character data