# Events

## Events

```lua
-- Client-side event
TriggerEvent('mg-notify:notify', text, type, title, time)

-- Server-to-client event
TriggerClientEvent('mg-notify:notify', target, text, type, title, time)

-- Server broadcast event
TriggerClientEvent('mg-notify:notify', -1, text, type, title, time)

-- Server events
TriggerEvent('mg-notify:notifyPlayer', target, text, type, title, time)
TriggerEvent('mg-notify:notifyAll', text, type, title, time)
```
