function sendMessageToPlayer (server-side)
Available since version: 0.3.0
Send a colored chat message to a specific player.
Declaration
bool sendMessageToPlayer(int player_id, int r, int g, int b, string text)
Parameters
intplayer_id: Target player id.intr: Red component (0-255).intg: Green component (0-255).intb: Blue component (0-255).stringtext: Message text to send.
Returns bool
True on success.