Bind console command (solved)
#1
Hello,
I wrote a plugin that works (hooray:D) when I execute it as user, but I can't execute it via the console. (Unknown command...)
I use the cPluginManager.BindCommand - hook.
Are more details necessary? Do I need another hook?

Julian
Reply
Thanks given by:
#2
There's another function for binding console commands: cPluginManager:BindConsoleCommand().
That's because console command handler functions have a different signature than in-game command functions.
Reply
Thanks given by:
#3
Thank you and facepalm!

Juli
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)