GetFunctionsBoundToKey: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 16: Line 16:


==Example==  
==Example==  
<syntaxhighlight lang="lua">
{{Example}}
--Example here
</syntaxhighlight>


==See Also==
==See Also==
{{Input_functions}}
{{Input_functions}}
[[Category:Needs_Example]]

Revision as of 05:36, 21 November 2011

Gets the functions bound to a key. To bind a function to a key use the bindKey function

Syntax

string getFunctionsBoundToKey ( player thePlayer, string theKey )

Required Arguments

  • thePlayer: The player to get the functions from a key.
  • theKey: The key you wish to check the functions from.

Returns

Returns a string of the functions bound on that key.

Example

Accessories-text-editor.png Script Example Missing Function GetFunctionsBoundToKey needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.
-- TODO


See Also