Crates.io | srcconsole |
lib.rs | srcconsole |
version | 0.2.0 |
source | src |
created_at | 2021-08-02 21:11:58.723034 |
updated_at | 2021-08-19 20:02:49.088528 |
description | interact with the source engine console |
homepage | |
repository | |
max_upload_size | |
id | 430701 |
size | 23,642 |
A rust crate for manipulating the developer console for Source Engine games.
use srcconsole::SourceConsole;
fn main() {
let console = SourceConsole::new("hl2.exe"); // initialize fn pointers
console.msg("Rust!"); // print to the console
console.warning("Warning!");
console.exec("load quick\n"); // run a command
}