ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. setHeliBladeCollisionsEnabled

Function

setHeliBladeCollisionsEnabled

ServerVehiclesIdentical to MTA:SA

Stores whether a helicopter's rotor blades should cut whatever they hit (peds, other vehicles).

Syntax

bool setHeliBladeCollisionsEnabled(vehicle vehicle, bool value)

Arguments

vehiclevehicle
The helicopter.
valuebool
true = blades cut.

Returns

true on success.

Example

local heli = createVehicle(487, 1765, -2290, 14)
setHeliBladeCollisionsEnabled(heli, false)

Notes

State for scripts. The game does not use this value yet.

See also