Skip to content
On this page

Athena.getters.vehicles

Functions

asOwnedVehicles

Usage

Athena.getters.vehicles.asOwnedVehicles<T>(): any

Get all owned vehicles.

Export

Type parameters

NameType
TOwnedVehicle

Returns

any

Defined in

server/getters/vehicles.ts:28


inRange

Usage

Athena.getters.vehicles.inRange(pos, range): alt.Vehicle[]

Get all vehicles in range of a position

Parameters

NameTypeDescription
posIVector3A position in the world.
rangenumber

Returns

alt.Vehicle[]

Defined in

server/getters/vehicles.ts:12

Created by Stuyk | Est. 2020