SetVehicleEnginePowerMultiplier: Difference between revisions
(Created page with "This function sets the vehicle's engine power multiplier. It will activate for the player that enters this vehicle and drives it. {{CSharpContainer| {{#tag:pre|void {{Templat...") |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Warning|This feature is currently not implemented server-side.}} | |||
This function sets the vehicle's engine power multiplier. It will activate for the player that enters this vehicle and drives it. | This function sets the vehicle's engine power multiplier. It will activate for the player that enters this vehicle and drives it. | ||
Latest revision as of 15:10, 23 December 2022
This function sets the vehicle's engine power multiplier. It will activate for the player that enters this vehicle and drives it.
C# Syntax
void NAPI.Vehicle.SetVehicleEnginePowerMultiplier(Vehicle vehicle, float mult);
Parameters
- vehicle: parameter input should be in Vehicle type
- mult: parameter input should be in float type
Example
NAPI.Vehicle.SetVehicleEnginePowerMultiplier(vehicle, 5.0f);