Skip to content

event onPlayerMessage (server-side)

This event is triggered when a player types the message on the chat.

Parameters

int playerid, string message
  • int playerid: the id of the player who typed the message.
  • string message: the message typed by the player.