▸tip

Specifies a tooltip-like popup box which will display when a player hovers their mouse over the job in the list.

Alias

tip

Source

added in Arivia v3

Requires

no additional requirements

Type

string

Example

DarkRP.createCategory
{
    name            = 'Citizens',
    categorises     = 'jobs',
    startExpanded   = true,
    color           = Color( 0, 107, 0, 255 ),
    canSee          = fp{ fn.Id, true },
    sortOrder       = 100,
    tip             = 'People who make the community run',
}

Output

When a player hovers over a category that have been given a tip, a small box will appear with the tip text.

The tooltip feature can also be applied to entities, shipments, vehicles, food, etc.

Last updated