Console tracking?

Is it possible to track what commands are used even if they don’t show up in console.

For instance I go to a vendor and buy a gun, there is a console command used to buy that gun. How would I find the command?

Which RP gamemode are you referring to?

If you mean DarkRP, there is not a console command. As far as I remember, it is a chat command.

PERP and Darkland are two examples.

So you’re either trying to exploit or you’re trying to create some quick menu. The only way I can think of doing this is messing with the lua functions that run console commands. Either way, this belongs in the Lua section.

[lua]local ecc = engineConsoleCommand

function engineConsoleCommand(p , c , a)
print("command used: "…c)
return ecc(p , c , a)