For the complete documentation index, see llms.txt. This page is also available as Markdown.

Hud Values

HUD values can be read and updated using:

local interface = exports['17mov_Interface']

local value = interface:getValue('key')
interface:setValue('key', value)

Most values are updated automatically by the script. You should only overwrite values that are controlled by your own resource.

When a value is empty, it is stored as false.


Status

Values from 0 to 100.

  • health

  • armor

  • hunger

  • thirst

  • stress

  • oxygen

  • stamina

  • voice

Example:


Voice

  • talking boolean

  • voiceMode number

  • voiceModeMax number

  • voiceRange string

Example value:


Player

  • serverId

  • job

  • jobGrade

  • cash

  • bank

  • black

  • societyMoney

  • weapon

  • ammoClip

  • ammoTotal

  • radio

Money values are stored as formatted strings.

Example:


World

  • street

  • crossing

  • zone

  • heading

  • compass

  • time

compass contains values such as:

time uses the following format:


Vehicle

  • inVehicle boolean

  • vehicleKind string

  • speed number

  • speedPercent number

  • rpm number

  • gear

  • maxGear

  • fuel

  • engineHealth

  • engineOn

  • lights

  • highBeams

  • doorsLocked

  • mileage

  • seatbelt

vehicleKind

Possible values:

speed

Raw vehicle speed.

rpm

Normalized RPM value from 0 to 100.

mileage

Vehicle mileage in kilometers.


Aircraft

  • altitude

  • altitudeSea

  • verticalSpeed

  • airspeed

  • pitch

  • roll

  • airHeading

  • landingGear

  • hasLandingGear

airspeed is stored in knots.


Boat

  • knots

  • depth

  • inWater


Info Panel

Custom info items use dynamic keys based on their ID.

For example, an info item with the ID phone uses:

These values can also be updated using setInfoItem.

Last updated