Callbacks

fatality.callbacks

Functions

add

Adds a function to a callback

callbacks:add( name, function )

Parameter

Data type

Description

name

string

name of callback

function

function

function for callback to call

Callbacks

paint

called every frame.

used for rendering. See fatality.render

events

called when a csgo game event is fired. See events examples

registered_shot

called when a shot is registered on the server. See fatality.shot_t

Examples

Last updated