GetVehicleEnginePowerMultiplier: Difference between revisions

From RAGE Multiplayer Wiki
(Created page with "Returns the vehicle's engine power multiplier. {{CSharpContainer| {{#tag:pre|float {{Template:CSharp_Serverside_namespace}}Vehicle.GetVehicleEnginePowerMultiplier(Vehicle veh...")
 
No edit summary
 
Line 1: Line 1:
{{Warning|This feature is currently not implemented server-side.}}
Returns the vehicle's engine power multiplier.
Returns the vehicle's engine power multiplier.



Latest revision as of 15:09, 23 December 2022

This feature is currently not implemented server-side.

Returns the vehicle's engine power multiplier.


C# Syntax

float NAPI.Vehicle.GetVehicleEnginePowerMultiplier(Vehicle vehicle);

Parameters

  • vehicle: parameter input should be in Vehicle type

NOTE: This function returns the engine power multiplier in float type.

Example

float powerMultiplier = NAPI.Vehicle.GetVehicleEnginePowerMultiplier(vehicle);