fix(package): getVehicleProperties param

This commit is contained in:
Linden
2022-09-17 23:12:58 +10:00
parent 87310e77e0
commit 1dbfd01f48

View File

@@ -84,7 +84,7 @@ interface VehicleProperties {
rearBumper: boolean;
}
export const getVehicleProperties = (): VehicleProperties => exports.ox_lib.getVehicleProperties();
export const getVehicleProperties = (vehicle: number): VehicleProperties => exports.ox_lib.getVehicleProperties(vehicle);
export const setVehicleProperties = (vehicle: number, props: Partial<VehicleProperties>): boolean =>
exports.ox_lib.setVehicleProperties(vehicle, props);