diff --git a/server/index.d.ts b/server/index.d.ts index c5dae865..12f5ea74 100644 --- a/server/index.d.ts +++ b/server/index.d.ts @@ -232,6 +232,16 @@ declare module "alt-server" { VerifyFailed, } + export interface VehicleBadgePosition { + active: boolean; + alpha: number; + size: number; + boneIndex: number; + offset: shared.Vector3; + direction: shared.Vector3; + side: shared.Vector3; + } + export interface IConnectionInfo { readonly name: string; readonly socialID: string; @@ -2456,6 +2466,8 @@ declare module "alt-server" { public setWeaponCapacity(weaponIndex: number, capacity: number): void; + setBadge(textureDictionary: number, texture: number, pos: VehicleBadgePosition, pos2?: VehicleBadgePosition, pos3?: VehicleBadgePosition, pos4?: VehicleBadgePosition): void; + public hybridExtraActive: boolean; public hybridExtraState: number;