function sendPlayerMessageToPlayer (server-side)
Available since version: 0.0.0
This function will send a chat message from one player to another player.
Sending a message triggers client side event onPlayerMessage with playerid set as senderid.
Declaration
void sendPlayerMessageToPlayer(int senderid, int receiverid, int r, int g, int b, string text)
Parameters
intsenderid: the id of the player which will send a message.intreceiverid: the id of the player which will receive a message.intr: the red color component in RGB model.intg: the green color component in RGB model.intb: the blue color component in RGB model.stringtext: that will be send.