Provides punishment actions for banned liveries. LiveryPunishments
Signature:
declare class LiveryPunishments#Example
client.on(ERLCEvents.vehicleAdd, banLiveries(
['Staff'],
LiveryPunishments.warnThenKick(10, true, 'This livery is restricted'),
[PlayerPermission.Mod, PlayerPermission.Administrator]
))#Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
|
Warns a player and kicks them if they don't change their livery within the specified delay. |