▸accent

Specifies a custom accent color that will fill in the circle to the far right of each item / job slot.

Alias

accent, color, Color, clr

Source

added in Arivia v3

Requires

no additional requirements

Type

color ( r, g, b, a )

Example

DarkRP.createEntity( 'Tip Jar',
{
    ent         = 'darkrp_tip_jar',
    model       = 'models/props_lab/jar01a.mdl',
    price       = 0,
    max         = 2,
    cmd         = 'tipjar',
    allowTools  = true,
    accent      = Color( 183, 27, 116 ),
} )

Output

If you supply an accent color for an item; the circle to the far right will be given that color such as in the example below:

Notes

By default, if an accent color is not provided for entities; the circle will be grey.

Last updated