SetVehicleEnginePowerMultiplier
Внешний вид
Ошибка создания миниатюры: Не удаётся сохранить эскиз по месту назначения 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.
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
<syntaxhighlight lang="csharp"> NAPI.Vehicle.SetVehicleEnginePowerMultiplier(vehicle, 5.0f); </syntaxhighlight>