PlayerStopTalking

From RAGE Multiplayer Wiki
Revision as of 22:43, 26 November 2018 by Sake (talk | contribs) (Created page with "== C# Syntax == {{CSharp}} <syntaxhighlight lang="C#"> public void OnPlayerStopTalking(player){} </syntaxhighlight> === Parameters === * '''player''': The player that was tal...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

C# Syntax

C#

{{{1}}}

public void OnPlayerStopTalking(player){}

Parameters

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

Examples

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");
}