TasksClient

setGlobalMinBirdFlightHeight

SET_GLOBAL_MIN_BIRD_FLIGHT_HEIGHT0x6C6B148586F934F7

The GTA V native SET_GLOBAL_MIN_BIRD_FLIGHT_HEIGHT of the TASK namespace, as LS:MP client scripts call it: the global function setGlobalMinBirdFlightHeight, in JavaScript and in Lua.

SignatureJavaScript
setGlobalMinBirdFlightHeight(height: number): void
SignatureLua
setGlobalMinBirdFlightHeight(height: number)

Usage

JavaScript
setGlobalMinBirdFlightHeight(height);
Lua
setGlobalMinBirdFlightHeight(height)

Parameters

ParameterTypeJavaScriptLua
heightfloatnumbernumber

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

Needs to be looped! And yes, it does work and is not a hash collision.
Birds will try to reach the given height.

Reference

Namespace
Tasks TASK
In the game
void SET_GLOBAL_MIN_BIRD_FLIGHT_HEIGHT(float height)
Hash
0x6C6B148586F934F7

Open in the interactive natives reference