- Documentation
- Server functions
- setHeliBladeCollisionsEnabled
Function
setHeliBladeCollisionsEnabled
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.
valuebooltrue= 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.