Athena.systems.defaults.vehiclesDespawnOnDestroy ​
Functions ​
disable ​
Usage
Athena.systems.defaults.vehiclesDespawnOnDestroy.disable(): void
Disable vehicles despawning when a player leaves.
Example ​
ts
Athena.systems.defaults.vehiclesDespawnOnDestroy.disable();Returns ​
void
Defined in ​
server/systems/defaults/vehiclesDespawnOnDestroy.ts:55
setTimeBeforeRemove ​
Usage
Athena.systems.defaults.vehiclesDespawnOnDestroy.setTimeBeforeRemove(milliseconds): void
Set the time before a vehicle is removed after it is destroyed.
Parameters ​
| Name | Type | 
|---|---|
| milliseconds | number | 
Returns ​
void
 V5 Docs
V5 Docs