Skip to content

BroadcastToPlayer

Description

BroadcastToPlayer is a Server/Host ONLY Function on Event
Call a global event on the given player with the given function name and parameters. Any scripts listening for this event will call the function with the same name.

Example
Event.BroadcastToPlayer(GetLocalPlayer(), "Toaster", nil)
Usage

network usage: Server/Host ONLY
returns: None
parameters:
- player (Player)
- functionName (string)
- params ((optional) Wildcard(s))