# Sending message to all players in room from Photon server?

I need to send a message to all players in the room from a Photon server. Sending the message from a player would introduce too much latency so I need the server to collect data and distribute messages at a rate of 16/s without a player's influence. Is there a way to do this?

if (PhotonNetwork.isMasterClient)
photonView.RPC ("SendMessageRPC", PhotonTargets.All, "Hello there!");

[PunRPC]
void SendMessage (string message) {

The above is basically how to send a message, with you needing to impliment a GUI or UI for a chatBox and a script that has a public void function that is called AddMessage, which adds the string message onto the big string of all the messages.