▸prestige

Assigns a certain prestige that a player must have in order to buy the item

Alias

prestige, prest

Source

added in Arivia v3

Requires

compatible prestige addon

Type

integer

Info

Providing the prestige field to an entity will force players to be that particular prestige amount before they can buy the item.

Example

DarkRP.createEntity( 'Tip Jar',
{
    ent         = 'darkrp_tip_jar',
    model       = 'models/props_lab/jar01a.mdl',
    price       = 5,
    max         = 2,
    cmd         = 'tipjar',
    level       = 1,
    prestige    = 2,
} )

Output

If a player views an entity with a prestige requirement that the player does not meet; the entity will be faded in the menu:

The player will also be given an error message:

Notes

If you wish to enable or disable the prestige plugin all-together on Arivia; you must open lua\modules\arivia\cfg\sh_13_plugins.lua and modify cfg.plugins.prestige

Last updated