PlayerStartTalking
This event is called when the player starts talking
Client-Side Event
C# | JavaScript |
---|
C# Syntax
public delegate void OnPlayerStartTalkingDelegate(Player player);
Parameters
- player: The player talking, expects RAGE.Elements.Player type.
Example
The example below shows a message for a player when they begin talking.
RAGE.Events.OnPlayerStartTalking += OnPlayerStartTalking;
public void OnPlayerStartTalking(RAGE.Elements.Player player)
{
RAGE.Chat.Output($"Player {player.Name} started talking");
}
JavaScript Syntax
to do