ENT.AcceptInput
From GMod Wiki
| Event Hook | |
| Hook Name | AcceptInput |
| Syntax | ENT:AcceptInput( String name, Entity activator, Entity caller, String data ) |
| Description | Called when an input is triggered. |
| Returns | Boolean |
| Lua State | |
| BBCode | [b][url=wiki.garrysmod.com/?title=ENT.AcceptInput]ENT.AcceptInput [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- name is the input being used. So if you did "ENT:Input("lolinput"), the name would be "lolinput". The example should be enough to show you how this works.