Request Type Use
Request-type notifications
- Allow the player to accept/reject
- Example:
local response = exports["bs-advnotifications"]:showNotify({
type = "request",
title = "Confirm action",
description = "Do you want to continue?",
duration = 14000
})
if response then
-- accepted
else
-- rejected
end
Integration with other resources
- You can trigger request notifications from any script