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

Function

setJetpackMaxHeight

ServerMiscellaneousIdentical to MTA:SA

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)

See also