diff --git a/docs/ox_lib/AddKeybind/Client.md b/docs/ox_lib/AddKeybind/Client.md index 446030b6..ae20ff8c 100644 --- a/docs/ox_lib/AddKeybind/Client.md +++ b/docs/ox_lib/AddKeybind/Client.md @@ -6,7 +6,7 @@ lib.addKeybind(data) * description: `string` * defaultKey?: `string` * Default: None - * keybind: `string` + * currentKey: `string` * disabled?: `boolean` * disable?: `function`(self: `table`, toggle: `boolean`) * onPressed?: `function`(self: `table`) @@ -18,10 +18,10 @@ local keybind = lib.addKeybind({ description = 'press F to pay respects', defaultKey = 'F', onPressed = function(self) - print(('pressed %s (%s)'):format(self.keybind, self.name)) + print(('pressed %s (%s)'):format(self.currentKey, self.name)) end, onReleased = function(self) - print(('released %s (%s)'):format(self.keybind, self.name)) + print(('released %s (%s)'):format(self.currentKey, self.name)) end, }) ``` diff --git a/docs/ox_lib/Interface/Client/textui.md b/docs/ox_lib/Interface/Client/textui.md index 5da2814b..5b66e57c 100644 --- a/docs/ox_lib/Interface/Client/textui.md +++ b/docs/ox_lib/Interface/Client/textui.md @@ -117,24 +117,3 @@ lib.hideTextUI() -### lib.isTextUIOpen -Returns if the TextUI window is open - - - - -```lua -local isOpen = lib.isTextUIOpen() -print(isOpen) -``` - - - -```ts -import lib from '@overextended/ox_lib/client' - -let isOpen = lib.isTextUIOpen() -console.log(isOpen) -``` - -