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
  • Tutorial
  • IDE
  • Coding scripts
  • Code snippets
  1. Getting Started

Coding Scripts

This page is dedicated to coding lua scripts

PreviousCreating ScriptsNextExamples

Last updated 2 years ago

Tutorial

IDE

An IDE is a very important part of coding. It keeps your workspace clean and has syntax highlighting, which colors parts of your code to make it easy to identify them.

Some IDE's good for coding scripts are

I personally use VsCode because of its simplicity and customizability.

Coding scripts

To start coding scripts you need to think about what you want your script to achieve. The majority of lua scripts made in fatality will need these things

  • Render instance

  • Config instance

  • Menu instance

  • Callback instance

Next, use this site's documentation to learn about how fatality's lua API works.

Code snippets

Code snippets are used to auto-fill in code patterns

Place that file in "C:\Users\YOURNAME\AppData\Roaming\Code\User\snippets"

VsCode
Atom
Download snippets.
Watch tutorial.