This is a known issue in the documentation and it does need a parameter:
private int m_Count;
void Update()
{
if (IsClient && Input.GetKeyDown(KeyCode.P))
{
// Client -> Server because PingRpc sends to Server
m_Count++;
PingRpc(m_Count);
}
}
The documentation should be updated soon with fixes to a few known existing issues in the most recent update.