SetVehicleEnginePowerMultiplier

From GTA Network Wiki
Jump to: navigation, search

SetVehicleEnginePowerMultiplier
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

This function sets the vehicle's engine power multiplier. It will activate for the player that enters this vehicle and drives it.

Syntax

void NAPI.Vehicle.SetVehicleEnginePowerMultiplier(Vehicle vehicle, float mult);

Required Arguments

  • vehicle: parameter input should be in Vehicle type.
  • mult: parameter input should be in float type.

Usage example(s)

Example Description

NAPI.Vehicle.SetVehicleEnginePowerMultiplier(vehicle, 5.0f);

Changelog

Version Description
1.0 Release.

References