- Documentation
- Server functions
- setJetpackMaxHeight
Function
setJetpackMaxHeight
Sets how high you can fly with a jetpack. The value is stored for compatibility with existing scripts (getJetpackMaxHeight) but does not change the in-game limit yet.
Syntax
bool setJetpackMaxHeight(float height)Arguments
heightfloat- Height (from -20).
Returns
true on success.
Example
setJetpackMaxHeight(300)