From Garry's Mod
Revision as of 02:31, 4 March 2017 by Markusmarkusz
Runs when a IN key was released by a player.
The player releasing the key
"hi" will be printed to the console when the player releases the IN_USE (E) key.
function GM:KeyRelease( player, key ) if ( key == IN_USE ) then print( "hi" ) end end