mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 14:38:50 +00:00
1 parent
5850640094
commit
8ca3c1bdfc
21 files changed
+190
-7
No files matched your search
@@ -13,10 +13,23 @@ Returns whether the player pressed the confirm button or canceled the dialog.
|
||||
<Tabs>
|
||||
<TabItem value='Lua'>
|
||||
|
||||
<Tabs>
|
||||
<TabItem value='Client'>
|
||||
|
||||
```lua
|
||||
lib.alertDialog(data)
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value='Server'>
|
||||
|
||||
```lua
|
||||
TriggerClientEvent('ox_lib:alertDialog', source, data)
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
</TabItem>
|
||||
<TabItem value='JS/TS'>
|
||||
|
||||
|
||||
@@ -12,10 +12,23 @@ Custom notifications with a lot of styling options.
|
||||
<Tabs>
|
||||
<TabItem value='Lua'>
|
||||
|
||||
<Tabs>
|
||||
<TabItem value='Client'>
|
||||
|
||||
```lua
|
||||
lib.notify(data)
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
<TabItem value='Server'>
|
||||
|
||||
```lua
|
||||
TriggerClientEvent('ox_lib:notify', source, data)
|
||||
```
|
||||
|
||||
</TabItem>
|
||||
</Tabs>
|
||||
|
||||
</TabItem>
|
||||
<TabItem value='JS/TS'>
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@ lib.addRadialItem(items)
|
||||
* Id of a menu to open.
|
||||
* onSelect: `function(currentMenu: string | nil, itemIndex: number)` | `string`
|
||||
* Function that's ran when a user clicks the item.
|
||||
* keepOpen?: `boolean`
|
||||
|
||||
### lib.removeRadialItem
|
||||
|
||||
|
||||
Reference in new issue
Block a user