Skip to main content

PlayerStopTalking

This event is called when the player stops talking

Client-side event

C#​

public delegate void OnPlayerStopTalkingDelegate(Player player);

Parameters​

  • player: The player that was talking, expects RAGE.Elements.Player type.

Example​

The example below shows a message for a player when the player previously talking, stops talking.

RAGE.Events.OnPlayerStopTalking += OnPlayerStopTalking;
public void OnPlayerStopTalking(RAGE.Elements.Player player)
{
RAGE.Chat.Output($"Player {player.Name} stopped talking");
}

JavaScript​

to do