SlashCo Wiki

SlashCo.SendValue

  SlashCo.SendValue( Player ply, string message, any ... )

Description

On the server it networks any amount of values to the specified client, or broadcasts them to all clients when no player is specified

On the client it networks any amount of values to the server

Arguments

1Player ply

This argument doesn't exist on the client!
The client to send the values to. If omitted, the values are broadcast to all clients.

2string message

The message identifier to send.

3any ...

The values to network.