NumpadTriggerDevice class ​
No description available
Functions ​
mnscript
bool NumpadTriggerDevice.ActivateKey()
- Activates the key on the owner of the device.
mnscript
number NumpadTriggerDevice.GetKeyNumber()
- Gets the trigger's key number (See https://wiki.facepunch.com/gmod/Enums/KEY)
- Gets the name of the device
- Returns whether the device is valid
mnscript
bool NumpadTriggerDevice.ReleaseKey()
- Releases the key on the owner of the device.
mnscript
NumpadTriggerDevice.SetKeyNumber(number)
- Sets the trigger's key number (See https://wiki.facepunch.com/gmod/Enums/KEY)