Provides punishment actions for banned vehicles. VehiclePunishments
Signature:
declare class VehiclePunishments#Example
client.on(ERLCEvents.vehicleAdd, banVehicles(
[Vehicles.BUGATTI_VEYRON],
VehiclePunishments.warnThenKick(15, true, 'This vehicle is not allowed')
))#Methods
|
Method |
Modifiers |
Description |
|---|---|---|
|
|
Warns a player and kicks them if they don't change vehicles within the specified delay. |