Garry's Mod Wiki


  PANEL:ActionSignal( string signalName, string signalValue )


Called whenever a panel receives a command signal from one of its children.

This hook is called when using Panel:Command, when clicking a Button with Panel:SetCommand set, and when clicking text within a RichText panel that is marked as click-able.


1 string signalName
The name of the signal, usually the sender of the signal or the command name.
2 string signalValue
The value of the signal, usually a command argument.