SlashCo Wiki

scValue_[message]

  scValue_[message]( Player ply, any ... )

Description

Called when a value message sent with SlashCo.SendValue is received.
[message] is replaced with the message name that was passed to SlashCo.SendValue, e.g. scValue_addRoundPoints.

Arguments

1Player ply

This argument doesn't exist on the client!
The player that sent the value.

2any ...

The networked values, in the order they were passed to SlashCo.SendValue.