%consolecommand% in Garry's Mod

In Half-Life 2, the key that attached to console command can be returned as string using %enter_console_command_here%. But it doesn’t work in Gmod. Is there any function to return bound-to-command key?

I don’t really get what you mean, but if you mean catching the output of binds, have a look at **[Gamemode.PlayerBindPress

http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=Gamemode.PlayerBindPress)**.

http://www.facepunch.com/showthread.php?t=974449

Second post