#How to get client Id in ngo 2.7?

1 messages · Page 1 of 1 (latest)

willow cipher
#

[ServerRpc(RequireOwnership = false)]
public void SetPlayerNameServerRpc(string playerName, ServerRpcParams serverRpcParams = default)
In the past you could do something like this and access the serverRpcParams.Receive.SenderClientId
ngo tells you to use this because the other is deprecated [Rpc(SendTo.Server, InvokePermission = RpcInvokePermission.Everyone)]
how can you get the clientId using this?