Notification
Server-side helper to send notifications to a player client
Overview
The Notify export triggers the ocean:client:notify client event on the target player. It accepts either a plain string or a data table, normalising both into the same shape before dispatching.
Functions
Notify
Sends a notification to the player identified by source.
source:number— the player server IDdata:string | table- When
datais astringit is automatically wrapped as{ description = data } - When
datais atableit is passed through as-is
- When