Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

How can I disable "friendly fire" on my server (TFC)? #1097

Open
Dimmi64 opened this issue Apr 10, 2024 · 2 comments
Open

How can I disable "friendly fire" on my server (TFC)? #1097

Dimmi64 opened this issue Apr 10, 2024 · 2 comments

Comments

@Dimmi64
Copy link

Dimmi64 commented Apr 10, 2024

Hello.
I just started a new TFC server, and properly installed the amxmodx. However, even if I open the tfc\server.cfg file and set the "mp_friendlyfire" as "0", friendly is still active. Also, if I type "ff" during the chat, it shows that it's supposedly "disabled", but it's not what it's actually going on. From what I can see, the amxmodx almost completely disables the vanilla server files, but I just can't find the file that controls this function.

@Nextra
Copy link
Contributor

Nextra commented Apr 11, 2024

This is not an AMXX issue. TFC has a non-standard system for team damage and ignores mp_friendlyfire. You need to manipulate the mp_teamplay variable instead.

The standard AMXX plugin that provides the say ff command has no knowledge of this, but I would recommend matching mp_friendlyfire to whatever you configure via mp_teamplay for your players' convenience.

@Dimmi64
Copy link
Author

Dimmi64 commented Apr 11, 2024

Thank you! It was fixed thanks to your help!

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

No branches or pull requests

2 participants