Macro rglua::printgm [−][src]
macro_rules! printgm {
($state : expr, $($x : expr), *) => { ... };
}Expand description
Like println!, however it prints to the gmod server’s console. First arg is the lua state. Rest are varargs. Can be either a variable storing a str literal, or a referenced String / str variable
Examples
ⓘ
use rglua::prelude::*;
printgm!(state, "Hello {}!", "world");