import { Vector2 } from '../types/Vector2'; import { Vector3 } from '../types/Vector3'; import { Vector4 } from '../types/Vector4'; import { Color } from '../types/Color'; import { BaseModel } from './BaseModel'; import { inv, rai, raf, ras, rav, pvi, pvf, pvv, pvii, pvfi, _h, f, int, uint, float, Hash, u8, u16, u32, u64, i8, i16, i32, i64 } from '../types/NativeAliases'; export class VehicleModel extends BaseModel { constructor(hash: number) { super(hash); } /** * Returns whether the specified model represents a vehicle. * * @returns */ get IsModelAVehicle(): boolean { return !!inv('0x354F62672DE7DB0A', this.hash, rai()); } }