Skip to content

Commit

Permalink
tweak(natives/vehicle): move return value for GetVehicleMod
Browse files Browse the repository at this point in the history
- Because of the formatting before this didn't show the paramaters which is useful to know the modType
  • Loading branch information
AvarianKnight authored Dec 5, 2023
1 parent e499934 commit 793a16f
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 mods current state, or -1 if the mod is stock

0 comments on commit 793a16f

Please sign in to comment.