mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-18 15:36:02 +01:00
fix(package): getVehicleProperties param
This commit is contained in:
@@ -84,7 +84,7 @@ interface VehicleProperties {
|
|||||||
rearBumper: boolean;
|
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 =>
|
export const setVehicleProperties = (vehicle: number, props: Partial<VehicleProperties>): boolean =>
|
||||||
exports.ox_lib.setVehicleProperties(vehicle, props);
|
exports.ox_lib.setVehicleProperties(vehicle, props);
|
||||||
|
|||||||
Reference in New Issue
Block a user