Comment on page
💡

Notifications

Sending phone notifications to players
Client export
-- Send a notification from the messages app
exports["icy-phone"]:createNotification('MESSAGES', 'Testing message')
Client event (Sending notification from server)
TriggerClientEvent('icy-phone:client:createNotification', 1, 'MESSAGES', 'Testing message')
// Available notification types
export enum NotificationType {
mail = 'MAIL',
system = 'SYSTEM',
twitter = 'TWITTER',
messages = 'MESSAGES',
contacts = 'CONTACTS',
calls = 'CALLS',
camera = 'CAMERA',
advertisements = 'ADVERTISEMENTS',
bank = 'BANK',
gallery = 'GALLERY',
crypto = 'CRYPTO',
notes = 'NOTES',
housing = 'HOUSING',
services = 'SERVICES',
groups = 'GROUPS',
}