utils.ui.howFloatingHelpNotification¶
utils.ui.howFloatingHelpNotification(msg, coords, timeout)
Arguments¶
Argument | Data Type | Optional | Default Value | Explanation |
---|---|---|---|---|
msg | string | No | - | Message |
coords | coords | No | - | Position to be displayed |
timeout | int | Yes | 5000 | Duration in milliseconds in which it will be shown |
Dependency¶
local utils = M("utils")
Example¶
utils.ui.howFloatingHelpNotification('Floating Text', vector3(-269.4, -955.3, 31.2), 5000)