Garry's Mod Wiki

Revision Difference

GM:OnChatTab#511170

<function name="OnChatTab" parent="GM" type="hook">⤶ <ishook>yes</ishook>⤶ <description>Called when the local player presses TAB while having their chatbox opened.</description>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="text" type="string">The currently typed into chatbox text</arg>⤶ </args>⤶ <rets>⤶ <ret name="" type="string">What should be placed into the chatbox instead of what currently is when player presses tab</ret>⤶ </rets>⤶ </function>⤶ ⤶