SetVehicleEngineDamageMultiplier

From GT-MP
Jump to: navigation, search
SetVehicleEngineDamageMultiplier
Client-Side Function
System-users.png Client-Side Javascript.png JavaScript

Sets the multiplies the game's calculation of damage to the engine, causing explosion or engine failure.

Dialog-warning.png Note: This feature is currently not in the API, or is currently not accurate on the wiki due to upcoming API changes. New API functions and changes will be released with the next update.
Dialog-warning.png All vehicle handling data changes get resetted on disconnect.

Syntax

In Javascript
Client-Side Function

API.setVehicleEngineDamageMultiplier(int vehicleHash, double value);

Required Arguments

  • vehicleHash parameter input should be in int type. See Vehicle Models.
  • value parameter input should be in double type.

Usage example

In Javascript
Client-Side Function

API.setVehicleEngineDamageMultiplier(int vehicleHash, double value);

References