Lua API
  • 🔎Overview
  • Getting started
    • 🚀Creating scripts
    • 📓Metadata
    • ☎ïļCallbacks
    • 🧠Examples
    • 🌐Useful resources
  • Documentation
    • ⚙ïļNamespaces
      • ðŸ–ĨïļGui
      • ✏ïļRender
      • 🏎ïļEngine
      • ðŸ”ĒMath
      • ⚙ïļUtilities
      • 🙎Entities
      • 📖Database
      • ðŸ–ąïļInput
      • 🌌Panorama
      • ðŸŠķMaterials
      • 📂Filesystem
      • 🗃ïļZip
    • ⚙ïļInstances
      • ⚙ïļGlobal Vars
      • ⚙ïļFatality
      • ⚙ïļGamerules
      • ⚙ïļServer
    • ⚙ïļDatatypes
      • ðŸ–Ĩïļcontrol
      • ðŸ–Ĩïļcheckbox
      • ðŸ–Ĩïļcombobox
      • ðŸ–Ĩïļcolor_picker
      • ðŸ–Ĩïļslider
      • ðŸ–Ĩïļtextbox
      • ðŸ–Ĩïļlist
      • ⚙ïļentity
      • ⚙ïļplayer_info
      • ⚙ïļweapon_info
      • ⚙ïļuser_cmd
      • ⚙ïļtrace_t
      • ⚙ïļvec3
      • ⚙ïļtimer
      • ⚙ïļcvar
      • ⚙ïļshot_info
      • ⚙ïļgame_event
      • ⚙ïļmaterial
      • ⚙ïļmaterial_var
      • ⚙ïļzip
      • ⚙ïļanimator
Powered by GitBook

ÂĐ 2025 - FATALITY

On this page
  1. Documentation
  2. Datatypes

shot_info

on_shot_registered

Shot results
  • hit

  • spread

  • resolve

  • server correction

  • extrapolation

  • anti-exploit

manual

boolean

was it the user that fired

secure

boolean

was a safe point targeted

very_secure

boolean

was a safe point targeted with roll respected

result

string

the shots result

target

number

targeted player index -1 if shot was manually fired

tick

number

tick the shot was fired at

backtrack

number

number of ticks backtracked

hitchance

number

the chance of the shot hitting (0 - 100)

client_hitgroup

number

the targeted hitgroup

client_damage

number

the targeted damage

server_hitgroup

number

the registered hitgroup or 0 if the shot missed

server_damage

number

the registered damage or 0 if the shot missed

client_impacts

table of client side impacts

server_impacts

table of server side impacts

server_hitpos

the hit position on the server. vec3(0, 0, 0) if miss

client_hitpos

the hit position on the client

shotpos

where the bullet originated from

PreviouscvarNextgame_event

Last updated 2 years ago

table of

table of

⚙ïļ
⚙ïļ
Variable name
Datatype
Description
math.vec3
math.vec3
math.vec3
math.vec3
math.vec3