SetVehicleEngineTorqueMultiplier: Difference between revisions
(Created page with "This function sets the engine torque multiplier of a vehicle. It activates when a player enters and starts driving the vehicle. {{CSharpContainer| {{#tag:pre|void {{Template:...") |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Warning|This feature is currently not implemented server-side.}} | |||
This function sets the engine torque multiplier of a vehicle. It activates when a player enters and starts driving the vehicle. | This function sets the engine torque multiplier of a vehicle. It activates when a player enters and starts driving the vehicle. | ||
Latest revision as of 15:10, 23 December 2022
This function sets the engine torque multiplier of a vehicle. It activates when a player enters and starts driving the vehicle.
C# Syntax
void NAPI.Vehicle.SetVehicleEngineTorqueMultiplier(Vehicle vehicle, float mult);
Parameters
- vehicle: parameter input should be in Vehicle type
- mult: parameter input should be in float type
Example
NAPI.Vehicle.SetVehicleEngineTorqueMultiplier(vehicle, 5.0f);