client
add_callback( string eventname, func() )
Adding new callback
Callback list
on_shot
- Fired when aimbot is firing
on_paint
- hook to draw something...
create_move
- Fired when game runs a move command
unload
- Fired when script is unloaded
drawmodel
- Fired when model is being drawn
pre_render
- Fired before a frame is rendered
post_render
- Fired after a frame is rendered
net_update_start
- Fired before game processes updates from server
net_update_end
- Fired after game processed updates from server
load_script( string name )
Load a script by name
unload_script( string name )
Unload a script by name
log( string text )
Output of a string to the log
get_script_name()
Returns name of loaded script