Server
Notifications (server). Send a notification to a player. Local display lives on client. Payload type: OxNotification.
Notifications (server)
Send a notification to a player. Local display lives on client. Payload type: OxNotification.
notify(src, data)
notify(src, data)| Param | Type |
|---|---|
src | number |
data | OxNotification |
Triggers Newb_Bridge:client:notify on the target client.
Usage Example
bridge.notifications.notify(source, {
description = 'Welcome back',
type = 'inform',
duration = 5000,
})Use this instead of bridge.framework.notify — that method does not exist on framework providers.
Client
Notifications (client). Show a notification on the local player. Server scripts use notify(src, data). Payload type: OxNotification.
Menu
Menu. Client-only context menus. Auto-detect order: ox_lib → lation_ui → qb-menu. There is no registerContext / showContext — openMenu registers and shows in one call.