Oakwood
  • Introduction
  • Server Setup
  • Public API
    • Events
    • Player
    • Vehicle
    • HUD
    • Camera
    • Chat
    • Vehicle-Player
    • Miscellaneous
  • Languages
    • NodeJS
  • Server API
  • Assets
    • Asset: Vehicle Models
    • Asset: Player models
  • Tutorials
    • Build Your Own Language Support
      • 1. Overview
      • 2. Connection
      • 3. Native Calls
      • 4. Events
      • 5. Wrap-up
Powered by GitBook
On this page
  • Killbox set
  • Killbox get

Was this helpful?

  1. Public API

Miscellaneous

This page describes miscellaneous API methods

Killbox set

killboxSet(float)

Sets the height level under which we kill or despawn an entity.

Remarks

The default value is -40. This can also be set from the server config.

Arguments

Type

Description

float

Y level height

Returns

0 if successful, -1 if invalid

// TODO

Killbox get

killboxGet()

Retrieves the current height level at which we kill/despawn an entity.

Remarks

Arguments

None.

Returns

The current height level.

// TODO
PreviousVehicle-PlayerNextLanguages

Last updated 5 years ago

Was this helpful?