mirror of
https://github.com/Mr-X-GTA/YimMenu.git
synced 2025-06-23 01:02:23 +08:00
add show_success lua binding (#3249)
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
|
||||
Table containing functions for modifying the menu GUI.
|
||||
|
||||
## Functions (7)
|
||||
## Functions (8)
|
||||
|
||||
### `get_tab(tab_name)`
|
||||
|
||||
@ -30,6 +30,19 @@ tab = gui.get_tab(tab_name)
|
||||
tab = gui.add_tab(tab_name)
|
||||
```
|
||||
|
||||
### `show_success(title, message)`
|
||||
|
||||
Shows a success to the user with the given title and message.
|
||||
|
||||
- **Parameters:**
|
||||
- `title` (string)
|
||||
- `message` (string)
|
||||
|
||||
**Example Usage:**
|
||||
```lua
|
||||
gui.show_success(title, message)
|
||||
```
|
||||
|
||||
### `show_message(title, message)`
|
||||
|
||||
Shows a message to the user with the given title and message.
|
||||
|
Reference in New Issue
Block a user