Modding(Script) Question[Chat events, console]
Xaenon
Join Date: 2012-11-20 Member: 172654Members
So I want to make a simple mod to servers that allows a bit more commands to make my friends and I's server a bit more bearable. I know there is a built in admin system, but what im struggling with is finding proper documentation of creating new console commands. If this isn't possible, I was also thinking along the lines of having a new admin script(created from a lua mod file) and using chat commands.
So in short: Were can I find pages about Chat/Console Command API?
So in short: Were can I find pages about Chat/Console Command API?
Comments
check out the lua source files .. ConsoleCommands_Server.lua and ConsoleCommands_CLient.lua
see what they do there?
Use event.hook to link a console command to a lua script.