From d51ed0e76aa50a61961103bb97c4c0eb4f1d5e4c Mon Sep 17 00:00:00 2001 From: leamir Date: Thu, 18 Dec 2025 18:47:02 -0300 Subject: [PATCH 1/2] Fix inline documentation for VehicleCanHaveComponent --- omp_vehicle.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/omp_vehicle.inc b/omp_vehicle.inc index 02f08c6..8aaf45a 100644 --- a/omp_vehicle.inc +++ b/omp_vehicle.inc @@ -890,8 +890,8 @@ native bool:RemoveVehicleComponent(vehicleid, component); /** * omp_vehicle - * Is this component legal on this vehicle? - * ID of the vehicle. + * Is this component legal on this vehicle model? + * ID of the vehicle model. * ID of the component * to check. * @@ -900,7 +900,7 @@ native bool:RemoveVehicleComponent(vehicleid, component); * * */ -native bool:VehicleCanHaveComponent(vehicleid, componentid); +native bool:VehicleCanHaveComponent(modelid, componentid); /** * omp_vehicle From 6bea5ca6d890367ac4b3ba16b8e978c7f9e1094e Mon Sep 17 00:00:00 2001 From: leamir Date: Thu, 18 Dec 2025 18:49:31 -0300 Subject: [PATCH 2/2] Fix param documentation that I forgot to chagne --- omp_vehicle.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omp_vehicle.inc b/omp_vehicle.inc index 8aaf45a..7c99bae 100644 --- a/omp_vehicle.inc +++ b/omp_vehicle.inc @@ -891,7 +891,7 @@ native bool:RemoveVehicleComponent(vehicleid, component); /** * omp_vehicle * Is this component legal on this vehicle model? - * ID of the vehicle model. + * ID of the vehicle model. * ID of the component * to check. *