mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
fix(package): getVehicleProperties param
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user