Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Team Say refactory/enhancement #1042

Merged
merged 2 commits into from
Mar 27, 2025
Merged

Team Say refactory/enhancement #1042

merged 2 commits into from
Mar 27, 2025

Conversation

dystopm
Copy link
Contributor

@dystopm dystopm commented Jan 7, 2025

Purpose

Avoid unnecessary use of say_team in FFA mode. Only for CT and T, Spectators can still use say_team.
Fix ignoremsg command behaviour in FFA mode (you can still see "enemies" message)

Approach

Change Host_Say's teamonly parameter local value to make say_team behaviour work like a simple say message.
Use CSGameRules::PlayerRelationship function instead of directly checking team indexes

Only for CT and T, Spectators can still use say_team
@dystopm dystopm changed the title Disable say_team when FFA mode is enabled Team Say refactory/enhancement Jan 9, 2025
@s1lentq s1lentq merged commit 6adb795 into rehlds:master Mar 27, 2025
5 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants