Legacy Lua Api
  • Overview
  • Getting Started
    • Creating Scripts
    • Coding Scripts
    • Examples
  • Fatality
    • Render
    • Config
    • Menu
    • Callbacks
    • Math
    • Input
    • Datatypes
      • Shot
      • Lag Record
      • Shot Info
      • Config Value
  • Csgo
    • Interface Handler
      • Global Vars
      • Entity List
      • Engine Client
      • Cvar
      • Events
      • Debug Overlay
    • Datatypes
      • Color
      • Vector3
      • Vector2
      • Angle
      • Entity
      • Player
      • Cvar
      • Game Event
      • Font
      • Matrix3x4
Powered by GitBook

© 2025 - FATALITY

On this page
  • Functions
  • add_item
  • get_item
  • get_weapon_setting
  1. Fatality

Config

fatality.config

PreviousRenderNextMenu

Last updated 2 years ago

Functions

add_item

adds a to the config map

config:add_item( item_name, default_value )

Parameter

Data type

Description

item_name

string

name of config item to add

default_value

int - float - bool

initial value of config item

get_item

returns a from the config map

config:get_item( item_name )

Parameter

Data type

Description

item_name

string

name of config item to get

get_weapon_setting

returns a for a weapon setting

config:get_weapon_setting( weapon_name, item_name )

Parameter

Data type

Description

weapon_name

string

name of weapon to use

item_name

string

name of config item to get

weapon names

  • autosniper

  • scout

  • awp

  • heavy_pistol

  • pistol

  • other

item names

  • hitchance

  • pointscale

  • mindmg

    • mindmg_override_enabled

    • mindmg_override

  • damage_accuracy

  • additional hitscan

    • hitboxes.neck

    • hitboxes.legs

    • hitboxes.feet

    • hitboxes.arms

  • additional points

    • pointscales.neck

    • pointscales.legs

    • pointscales.feet

    • pointscales.arms

  • autostop

    • autostop_on_key

    • predictive_autostop

  • autoscope

  • fallback_mode safepoint mode

    • force safepoint

      • baim.air

      • baim.lethal

      • fallback_when.moving

      • fallback_when.standing

      • fallback_when.limbs

  • ignore_limbs

  • refine_shot

  • autorevolver

  • scout_jumpshot

value
config value
config value