Skip to content

Commit

Permalink
tweak(natives/vehicle): move return value for GetVehicleMod (#940)
Browse files Browse the repository at this point in the history
* tweak(natives/vehicle): move return value for GetVehicleMod

- Because of the formatting before this didn't show the paramaters which is useful to know the modType

* Update GetVehicleMod.md

Just nitpicked on capitalization.

---------

Co-authored-by: ammonia-cfx <[email protected]>
  • Loading branch information
AvarianKnight and 4mmonium authored Dec 5, 2023
1 parent e499934 commit 23487ba
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions VEHICLE/GetVehicleMod.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,9 @@ ns: VEHICLE
int GET_VEHICLE_MOD(Vehicle vehicle, int modType);
```
```
Returns -1 if the vehicle mod is stock
```
## Parameters
* **vehicle**:
* **vehicle**: The vehicle to get the mod of.
* **modType**: Refer to eVehicleModType in [`SET_VEHICLE_MOD`](#_0x6AF0636DDEDCB6DD).
## Return value
Returns the current modIndex, or `-1` if the mod is stock.

0 comments on commit 23487ba

Please sign in to comment.