FECALITY.SHOP [API]
  • Overview
  • GETTING STARTED
    • Metadata
    • Creating scripts
    • Callbacks
    • Examples
    • Useful resources
  • DOCUMENTATION
    • Datatypes
      • entity
      • player_info
      • weapon_info
      • user_cmd
      • trace_t
      • vec3
      • cvar
      • timer
      • cfg_value
      • shot_info
      • game_event
      • material
      • material_var
      • zip
      • animator
    • Namespaces
      • Gui
      • Render
      • Engine
      • Math
      • Utilities
      • Entities
      • Database
      • Input
      • Panorama
      • Materials
      • Filesystem
      • Zip
    • Instances
      • Global Vars
      • Fecality
      • Gamerules
      • Server
Powered by GitBook
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

Previouscfg_valueNextgame_event

Last updated 2 years ago

​​

​​

​​

table of ​

table of ​

​​

​​

​​

Variable name
Datatype
Description
math.vec3
math.vec3
math.vec3
math.vec3
math.vec3