how do I turn a console command into a chat command for my gamemode? like the darkrp commands.
There’s an addon have you check garrysmod.org or the release section?
how would I use this on my gamemode? should I put it in the gamemode folder, or should I install it then use the chatcommand.Add?
It’s a module so it goes in lua/includes/modules.
And then you just do require(“chatcommand”) in your init.lua file.
Then you can call the chatcommand.Add function anywhere while that gamemode is loaded.
thanks for clearing that up for me.