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
  • Values
  • victim
  • shot_info
  • record
  • hit
  • hurt
  • target_damage
  • hit_damage
  • target_hitgroup
  • hit_hitgroup
  • target_hitpos
  • hitpos
  • shotpos
  • hitchance
  • inaccuracy
  1. Fatality
  2. Datatypes

Shot

fatality.shot_t

PreviousDatatypesNextLag Record

Last updated 2 years ago

Values

victim

index of targeted player or nil on invalid

shot_info

extra info about the shot. See

record

player record shot at. See

hit

true if the shot intersected with the player matrix

hurt

true if the player took damage from the shot

target_damage

damage predicted

hit_damage

damage done. -1 if the shot was a miss

target_hitgroup

targeted hitgroup

hit_hitgroup

hitgroup hit on server

target_hitpos

targeted position shot at

hitpos

position hit on the server

shotpos

position the shot came from

hitchance

chance of shot hitting

inaccuracy

weapon inaccuracy

fatality.record_shot_info_t
fatality.lag_record_t