Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

Part of StarfallEx namespace

๐Ÿ”— External
net.send(target, unreliable)
View on GitHub|lua/starfall/libs_sh/net.lua:191
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Send a net message from client->server, or server->client.

Parameters

NameTypeDescription
targetPlayer|table|nilOn server-side: Optional target location to send the net message to, can be a player or table of players, or nil to broadcast to all players; On client-side: This argument is ignored, it will send to the server.
unreliable?booleanOptional. Whether it's more important for the message to actually reach its destination (false), or reach it as fast as possible (true). Default is false.

Returns

No return values documented.

Examples

No examples available.

Used In

No usages found in the codebase.