mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 06:28:54 +00:00
add textUiOpen, format addCommand example (#131)
This commit is contained in:
1 parent
7b4f167202
commit
1f5c357576
2 files changed
+26
-1
No files matched your search
@@ -127,4 +127,28 @@ lib.showTextUI('[E] - Pick apple', {
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
### lib.isTextUIOpen
|
||||
|
||||
Returns whether Text UI is opened or not
|
||||
|
||||
<Tabs items={["Lua", "JS"]}>
|
||||
<Tab>
|
||||
|
||||
```lua
|
||||
lib.isTextUIOpen()
|
||||
```
|
||||
|
||||
</Tab>
|
||||
<Tab>
|
||||
|
||||
```ts
|
||||
import lib from '@overextended/ox_lib/client';
|
||||
|
||||
lib.isTextUIOpen();
|
||||
```
|
||||
|
||||
</Tab>
|
||||
</Tabs>
|
||||
|
||||
|
||||

|
||||
Reference in new issue
Block a user