How do I make this work in 1.40?
Code: Select all
bindCommand(keyboard0, make, "numpad6", TO, "exec("5150.cs");");
bindCommand(keyboard0, make, "numpad3", TO, "exec("BigMonkey.cs");");
I first tried to switch manually, typing
exec("BigMonkey.cs"); in the console, but didn't work. I added the following lines at the beginning of each of the soundpacks .cs file:
Code: Select all
deleteObject(PlayChatMenu, ChatMenu, "Root Menu:");
deleteObject(CommandChatMenu, ChatMenu, "Command Menu");
Now it works when I execute manually, but I still receive "Error adding menu to PlayChatMenu". And why doesn't the bindCommand thing work here?