Features
Smooth animations with progress bars
Gradient-based styling for different notification types
Flexible positioning (9 different positions)
Highly configurable
Optimized performance (0.00ms idle)
Easy integration with exports
Types & Styling
- Success
- Error
- Info
- Warning
- Primary
- Secondary
Each type features custom gradient colors and labels, fully configurable in config.lua
.
Usage Examples
Client-Side
-- Basic usage
exports['fourtwenty_notify']:notify("Title", "Message", "info", 5000)
-- Test commands included
/testinfo
/testsuccess
/testwarning
/testerror
Server-Side
-- Send to specific player
exports['fourtwenty_notify']:notify(source, "Title", "Message", "success", 7500)
Installation
- Download from GitHub
- Add to resources folder
- Add
ensure fourtwenty_notify
to server.cfg - Configure in
config.lua
Configuration
Config.Position = {
x = "left", -- Options: "left", "center", "right"
y = "middle" -- Options: "top", "middle", "bottom"
}
Config.Offset = {
x = 20,
y = 0
}
Technical Details
Feature | Details |
---|---|
Code is accessible | Yes |
Subscription-based | No |
Lines (approximately) | 350+ |
Requirements | None |
Support | Yes |
Links
Tags
notifications
ui
free
opensource
utility
interface
Made with by FourTwenty