Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions omp_vehicle.inc
Original file line number Diff line number Diff line change
Expand Up @@ -890,8 +890,8 @@ native bool:RemoveVehicleComponent(vehicleid, component);

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

/**
* <library>omp_vehicle</library>
Expand Down