- Documentation
- Client functions
- getKeyboardLayout
Function
getKeyboardLayout
Returns the player's keyboard layout (name and identifier). In the current client version the function is not wired to the game yet and returns false with a console warning.
Syntax
table getKeyboardLayout()Returns
A table with a name field or false.
Example
local layout = getKeyboardLayout()
if layout then outputChatBox("Klawiatura: " .. layout.name) end