setFlyCamMaxHeight
SET_FLY_CAM_MAX_HEIGHT0xF9D02130ECDD1D77The GTA V native SET_FLY_CAM_MAX_HEIGHT of the CAM namespace, as LS:MP client scripts call it: the global function setFlyCamMaxHeight, in JavaScript and in Lua.
setFlyCamMaxHeight(cam: Cam, height: number): voidsetFlyCamMaxHeight(cam: Cam, height: number)Usage
JavaScript
setFlyCamMaxHeight(cam, height);Lua
setFlyCamMaxHeight(cam, height)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
cam | Cam | number | integer |
height | float | number | number |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Camera CAM
- In the game
void SET_FLY_CAM_MAX_HEIGHT(Cam cam, float height)- Hash
0xF9D02130ECDD1D77- Formerly
_SET_CAMERA_RANGE