bokys96 Posted October 9 Posted October 9 Hello guys, a really simple problem from my side. I have tried this function from tutorial and I can't get it to print on the console: mp.events.addCommand('testCmd', (player, text, arg, arg1) => { console.log(`text: ${text}`); console.log(`arg: ${arg}`); console.log(`arg1: ${arg1}`); }) What I do is I go to the game and write "/testCmd This is test" From what I understand, this should show the output on my server console. I'd ask on discord but somehow after accepting the rules I don't get the access to channels, maybe bot is down?
Recommended Posts