▸tip
Specifies a tooltip-like popup box which will display when a player hovers their mouse over the job in the list.
Last updated
Specifies a tooltip-like popup box which will display when a player hovers their mouse over the job in the list.
tip
added in Arivia v3
no additional requirements
string
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',
}DarkRP.createCategory
{
name = 'Pistols',
categorises = 'weapons',
startExpanded = true,
color = Color( 0, 107, 0, 255 ),
canSee = fp{ fn.Id, true },
sortOrder = 100,
tip = 'Small pew pew',
}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