client#
get_local_time#
Returns the current hours, minutes, and seconds
Example
get_unix_time#
Returns the current unix timestamp
Example
get_hitgroup_name#
Returns the specified hitgroup as a string
| Fields | Description |
|---|---|
hitgroupe_hitgroups |
hitgroup |
Example
get_hitbox_name#
Returns the specified hitbox as a string
| Fields | Description |
|---|---|
hitboxe_hitboxes |
hitbox |
Example
time_to_ticks#
Converts time (in seconds) into csgo ticks
Example
ticks_to_time#
Converts csgo ticks into seconds
Example
get_fps#
Returns the client's frames per second
Example
get_tickrate#
Returns the current server's tickrate
Example
precache_model#
Adds model to level precache list
| Fields | Description |
|---|---|
namestring |
model path to cache |
Example
random_float#
Returns a random float between min and max
| Fields | Description |
|---|---|
minfloat |
minimum float value |
maxfloat |
maximum float value |
Example
random_int#
Returns a random int between min and max
| Fields | Description |
|---|---|
minint |
minimum int value |
maxint |
maximum int value |
Example
is_in_thirdperson#
Returns if the camera is in third person
Example
can_fire#
Returns if the client is able to fire
Example
log_screen#
Prints to screen logs
Example
client.log_screen("white text")
client.log_screen("white text", color_t(255, 0, 0), "red text", "still red text")
client.log_screen(color_t(0, 255, 0), "green text")
log#
Prints to console logs
Example
client.log("white text")
client.log("white text", color_t(255, 0, 0), "red text", "still red text")
client.log(color_t(0, 255, 0), "green text")
delay_call#
Runs a function after a defined delay
Example
set_clantag#
Sets your clantag