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