From Multi Theft Auto: Wiki
getKeyBoundToFunction allows retrieval of the first key bound to a function.
- thePlayer: The player you are checking the function bound to a key
- theFunction: The function in which you would like to check the bound key
Returns a string of the first key the function was bound to.
Click to collapse [-]Client
/key command gives bounded key to our chat function
This example written by Samurai