Skip to content

NetMessagePlayer

Description

NetMessagePlayer is a Function on Object
Sends a network message (a table) to the given Player, which triggers the OnNetMessage event on this object for their client. NetMessage can be sent from the server to clients or from a client to the server.

Example
Object.NetMessagePlayer(GetLocalPlayer(), nil)
Usage

network usage: Any (Client or Server/Host)
returns: None
parameters:
- player (Player)
- table (Wildcard)