cheat

The cheat namespace contains functions closely related to internal cheat functionality

Declaration:

namespace cheat
{

    // add a log to the cheat logs
    void add_log(string text);
    
    // returns all registered binds, including ones from scripts
    array<bind_t>@ get_binds();

}

Information:

If a bind returned from "get_binds" is registered from a script, the name/bind type will not be correctly displayed, however it will still show when active. Along with this the bind type will be correctly set once it's changed through the menu. (This is a bug, it will be fixed in the future.)

An example of "add_log" is present within the "menu" namespace page. And "get_binds" has an example in the "keybind list" example at the top of the page list.

Last updated