Skip to content

Latest commit

 

History

History
95 lines (49 loc) · 2.63 KB

general.md

File metadata and controls

95 lines (49 loc) · 2.63 KB

❄ general

Functions:

log

general.log(std::string text) void

log_notify

general.log_notify(std::string text) void

log_to_console

general.log_to_console(std::string text) void

log_to_console_colored

general.log_to_console_colored(std::string text, float_red, float_green, float_blue, float_alpha) void

ticks_to_time

general.ticks_to_time(int) float

time_to_ticks

general.time_to_ticks(float) int

get_convar

general.get_convar(std::string var) convar

get_smooth_colors

general.get_smooth_colors() color

is_active_app

general.is_active_app() bool

is_chat_open

general.is_chat_open() bool

is_in_thirdperson

general.is_in_thirdperson() bool

get_lerp

general.get_lerp() float

play_sound

general.play_sound(sounds sound, volume) void

Name Type
volume float

play_custom_sound

general.play_custom_sound(std::string sound_file, volume) void

is_key_pressed

general.is_key_pressed(int button) bool

is_key_active

general.is_key_active(int button, int mode) bool

override_clantag

general.override_clantag() void

set_mouse_cursor_visible

general.set_mouse_cursor_visible(bool visible) void

get_mouse_cursor_position

general.get_mouse_cursor_position() c_vector2d

create_interface

general.create_interface(std::string module_name, std::string interace) void*

force_mouse_cursor

general.force_mouse_cursor(bool force) void

disable_keyboard_inputs

general.disable_keyboard_inputs(bool disable) void