bokys96
-
Posts
2 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Posts posted by bokys96
-
-
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?

Console.log problem
in Support
Posted
Nevermind, I was dumb
Wrong file was edited.