(Official) LUA Scripting Documentation
hud_shape
Add a hud shape.
Spec:
hud_shape(
string name,
bool is_player,
string shape,
long item_id,
NLua.LuaTable pos,
NLua.LuaTable size,
long border,
NLua.LuaTable color,
NLua.LuaTable borderColor,
string props)
Parameters
name
: The name of the element. This name must be unique and is also used to remove the elementis_player
: True or False. If True this element is only shown on the context player’s screen. If False, it is shown on all players screensshape
: The type of shape. Currently only “rect” is supporteditem_id
: If an item_id is specified, the texture for that item will be draw inside the elementpos
: The screen coordinate of the element (Top Left udim2)size
: The size of the element (udim2)border
: The width of the elements border in pixels. Zero = no bordercolor
: The color of the shape (color)borderColor
: The color of the shape border (color)props
: Properties that define how the hud element is drawn
Valid values for shape: “rect”
Valid values for props: “vertical”, “showlabel”, “label”, “shownumbers”, “numbers”, “rightjustify”, “right”, “absolute”, “abs”, “cctv”
Incomplete
This documentation is incomplete