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
  • Creating a .lua file
  • Where to place scripts
  1. Getting Started

Creating Scripts

This page is dedicated to the creation of scripts.

Tutorial

Creating a .lua file

Most IDE softwares will allow you to create a file with a specific file extension.

To create a lua in VsCode

  1. Click "File" at the top left of the application

  2. Select "New File"

  3. Press Ctrl + S and window's file explorer will open

  4. Enter the name you want to use and end it with ".lua"

  5. You have now created a lua script

Where to place scripts

Program Files (x86)\Steam\steamapps\common\Counter-Strike Global Offensive\lua

PreviousOverviewNextCoding Scripts

Last updated 2 years ago