SetInputMode: Difference between revisions
From Onset Developer Wiki
Created page with "{{Info|Function|Client|1.0}} {{FuncDescription|__EDIT_ME__}} {{FuncSyntax|SetInputMode(InputMode)}} {{FuncParameters}} {{FuncParam|InputMode|__EDIT_ME__}} {{FuncReturnValu..." |
No edit summary |
||
Line 1: | Line 1: | ||
{{Info|Function|Client|1.0}} | {{Info|Function|Client|1.0}} | ||
{{FuncDescription| | {{FuncDescription|Set the client's input mode for the game.}} | ||
{{FuncSyntax|SetInputMode(InputMode)}} | {{FuncSyntax|SetInputMode(InputMode)}} | ||
{{FuncParameters}} | {{FuncParameters}} | ||
{{FuncParam|InputMode| | {{FuncParam|InputMode|[[InputModes]]}} | ||
{{FuncReturnValue| | {{FuncReturnValue|This function returns nothing.}} | ||
== Example == | == Example == | ||
<syntaxhighlight lang="Lua> | |||
SetInputMode(INPUT_GAME) | |||
</syntaxhighlight> | |||
{{RelatedFunctions}} | {{RelatedFunctions}} | ||
__EDIT_ME__ | __EDIT_ME__ |
Revision as of 13:25, 19 November 2019
Description
Set the client's input mode for the game.
Syntax
SetInputMode(InputMode)
Parameters
- InputMode
InputModes
Return Value
- This function returns nothing.
Example
SetInputMode(INPUT_GAME)
See also
__EDIT_ME__