mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
Update disableRadial to include state parameter (#106)
This commit is contained in:
1 file changed
+5
-2
@@ -123,7 +123,7 @@ Disallow players from opening the radial menu.
|
||||
<TabItem value='Lua'>
|
||||
|
||||
```lua
|
||||
lib.disableRadial()
|
||||
lib.disableRadial(state)
|
||||
```
|
||||
</TabItem>
|
||||
<TabItem value='JS/TS'>
|
||||
@@ -131,11 +131,14 @@ lib.disableRadial()
|
||||
```ts
|
||||
import lib from '@overextended/ox_lib/client'
|
||||
|
||||
lib.disableRadial()
|
||||
lib.disableRadial(state)
|
||||
```
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
* state: `boolean`
|
||||
* Whether or not radial menu should be disabled
|
||||
|
||||
### Usage Example
|
||||
|
||||
:::tip
|
||||
|
||||
Reference in new issue
Block a user