02-02-2013, 05:57 AM
Pages: 1 2
02-14-2013, 05:21 AM
can you also make it possible to add commands into the console?
maybe something like this:
maybe something like this:
PluginManager:BindConsoleCommand("/example", Handleexample, "this is also an example");
02-14-2013, 05:24 AM
That's a good idea. Later on, as I'm working on other things currently. Maybe put it in the flyspray tracker, so that it's not forgotten.
02-15-2013, 11:11 PM
I'm beginning to actually like Lua. Its lambda-functions feature makes writing callbacks sooo easy! Just look at the Core/console.lua file and its handler functions, aren't they beautiful?
I have to admit it's more elegant than the original C++ code.
Anyway, console command binding is now done, too.
I have to admit it's more elegant than the original C++ code.Anyway, console command binding is now done, too.
Pages: 1 2