Garry's Mod Wiki

numpad.FromButton

  boolean numpad.FromButton()

Description

Returns true during a function added with numpad.Register when the third argument to numpad.Activate is true.

This is caused when a numpad function is triggered by a button SENT being used.

Returns

1 boolean
wasButton