GetVehicleMod: Difference between revisions
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
{{Parameters}} | {{Parameters}} | ||
*'''vehicle:''' parameter input should be in '''Vehicle''' type | *'''vehicle:''' parameter input should be in '''Vehicle''' type | ||
'''NOTE:''' This function returns the | '''NOTE:''' This function returns the mod in '''int''' type. | ||
{{Example}} | {{Example}} | ||
{{#tag:syntaxhighlight| | {{#tag:syntaxhighlight| | ||
Latest revision as of 14:16, 12 December 2019
Returns the vehicle's mod.
C# Syntax
int NAPI.Vehicle.GetVehicleMod(Vehicle vehicle, int slot);
Parameters
- vehicle: parameter input should be in Vehicle type
NOTE: This function returns the mod in int type.
Example
NAPI.Vehicle.GetVehicleMod(vehicle, slot);