Garry's Mod Wiki

Revision Difference

GM:FinishChat#527201

<function name="FinishChat" parent="GM" type="hook"> <ishook>yes</ishook> <description>Runs when user cancels/finishes typing.</description> <realm>Client</realm> <predicted>No</predicted> </function> <example> <description>Prints "User has closed the chatbox." when player closes their chat or sends the message.</description> <code> hook.Add( "FinishChat", "ClientFinishTyping", function() print( "User has closed the chatbox." ) end) end ) </code> </example>