Skip to content

Commit d025d4a

Browse files
authored
Merge branch 'openmultiplayer:master' into patch-1
2 parents f0dbd77 + 91edd2f commit d025d4a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

omp_vehicle.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -890,8 +890,8 @@ native bool:RemoveVehicleComponent(vehicleid, component);
890890

891891
/**
892892
* <library>omp_vehicle</library>
893-
* <summary>Is this component legal on this vehicle?</summary>
894-
* <param name="vehicleid">ID of the vehicle.</param>
893+
* <summary>Is this component legal on this vehicle model?</summary>
894+
* <param name="modelid">ID of the vehicle model.</param>
895895
* <param name="component">ID of the <a href="https://www.open.mp/docs/scripting/resources/carcomponentid">component</a>
896896
* to check.</param>
897897
* <seealso name="AddVehicleComponent" />
@@ -900,7 +900,7 @@ native bool:RemoveVehicleComponent(vehicleid, component);
900900
* <seealso name="OnVehicleMod" />
901901
* <seealso name="OnEnterExitModShop" />
902902
*/
903-
native bool:VehicleCanHaveComponent(vehicleid, componentid);
903+
native bool:VehicleCanHaveComponent(modelid, componentid);
904904

905905
/**
906906
* <library>omp_vehicle</library>

0 commit comments

Comments
 (0)