Name Type Description Examples
name String Name of element addfriend_button
scrolltexture File path File path of scroll texture /ui/elements/vist_scroll.tga
handleheight Distance Height of handle 2.0h, 24, 100%
x Distance X position (horizontal plane) 1.5h, -5h, 25, 0
y Distance Y position (vertical plane) 1.5h, -5h, 25, 0
width Distance Width of element 1.5h, -5h, 250, 75%
height Distance Height of element 1.5h, -5h, 250, 75%
align Enum Horizontal alignment right, left, center
valign Enum Vertical alignment top, bottom, center
textalign Enum Horizontal alignment of text right, left, center
font Enum Font type and size dyn_10, dyn_12, dyn_9
fadecolor Color white
fadetime Time Time until text fades (in milliseconds) 5000, 15000
color Color Background color invisible, #FFFFFF
textcolor Color Color of text white, black
shadow Boolean Display shadow true, false, 1, 0
shadowcolor Color Color of shadow black, #FFFFFF
shadowoffset Distance Shadow offset distance 1, 5, 3h
wrap Boolean Wrap text true, false, 1, 0
anchorbottom Boolean true, false, 1, 0
usesmileys Boolean Enable use of smileys true, false, 1, 0
usescrollbar Boolean Enable use of scrollbar true, false, 1, 0
watch Trigger Trigger to watch ChatUserEvent
noclick Boolean Prevent from throwing onclick true, false, 1, 0
editable Boolean Allow edits true, false, 1, 0
maxlines Integer Maximum number of lines 1000, 3

See Also:Править