From cbbf1b1783147491e95ad91201dc36b11aeb1ffe Mon Sep 17 00:00:00 2001 From: dockfries Date: Mon, 29 Jul 2024 19:27:38 +0800 Subject: [PATCH] fix(core): vehicle get color params --- packages/core/src/wrapper/native/vehicle.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/wrapper/native/vehicle.ts b/packages/core/src/wrapper/native/vehicle.ts index 1c2f36a..39ffdf3 100644 --- a/packages/core/src/wrapper/native/vehicle.ts +++ b/packages/core/src/wrapper/native/vehicle.ts @@ -43,7 +43,7 @@ export const SetVehicleSpawnInfo = ( export const GetVehicleColors = (vehicleId: number): IVehColor => { const [color1 = 0, color2 = 0]: number[] = samp.callNative( "GetVehicleColor", - "i", + "iII", vehicleId, ); return { color1, color2 };