Skip to content

Add !voicechat command#451

Open
Faramour wants to merge 2 commits into
Source2ZE:devfrom
Faramour:voicechat-command
Open

Add !voicechat command#451
Faramour wants to merge 2 commits into
Source2ZE:devfrom
Faramour:voicechat-command

Conversation

@Faramour

Copy link
Copy Markdown
Collaborator

PR adds !voicechat (and alias !vc) command, which displays all players who are actively using voice chat.

The printed information contains player's name, user ID and steam ID (with additional information if player is not authenticated).
The prints happen both in chat and in console.

Implementation is nearly identical with how SourceMod hooks into ProcessVoiceData to enable OnClientSpeaking and OnClientSpeakingEnd natives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant