View Single Post
Author Message
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 11-12-2017 , 04:32   [L4D & L4D2] No Friendly-fire (v10.0, 6-1-2022)
Reply With Quote #1



Rate this plugin

Donate to Motivate

No Friendly-Fire

Table of contents
About

Disables friendly fire.

Credits

cravenge - For the original source code; fixing all the errors and converting the original source code into the new syntax in this post.

Lux/LuxLuma - For the previous source code; showed me a better and simpler way of handling friendly fire.

Silvers (Silvershot) - For the code that allows users to enable/disable the plugin in certain game modes and for blocking damage after idle/spectator team change and player disconnects.

Kr3m, WhatsAnName - For reporting an issue.

SourceMod Team - For continually updating/improving SourceMod.

Requirements

1. SourceMod 1.9 or higher
2. Recommended: Left 4 DHooks Direct

Notes

1. I do not provide support for listen/local servers but the plugin should still work properly on them.
2. I will not help you with installing or troubleshooting problems on your part.
3. If you get errors from SourceMod itself, that is your problem, not mine.
4. MAKE SURE YOU MEET ALL THE REQUIREMENTS AND FOLLOW THE INSTALLATION GUIDE PROPERLY.

Features

1. Block friendly-fire for survivors.
2. Block friendly-fire for special infected.
3. Filter which damage types to allow/block.

ConVars

Spoiler


Changelog

Spoiler


Installation

1. Delete files from old versions of the plugin.
3. Place "no_friendly-fire.smx" in the "addons/sourcemod/plugins" folder.
4. Place "no_friendly-fire.sp" in the "addons/sourcemod/scripting" folder.

Uninstalling/Upgrading to Newer Versions

1. Delete "no_friendly-fire.sp" from the "addons/sourcemod/scripting" folder.
2. Delete "no_friendly-fire.smx" from the "addons/sourcemod/plugins" folder.
4. Follow the Installation guide above. (Only for upgrading to newer versions.)

Disabling

1. Move "no_friendly-fire.smx" to the "plugins/disabled" folder.
2. Unload "No Friendly-Fire" by typing "sm plugins unload no_friendly-fire" in the server console.

Third-party Revisions Notice

If you would like to share your own revisions of this plugin, please rename the files so that there is no confusion for users.

Download

Source | Latest Version | All Official Releases
Attached Files
File Type: sp Get Plugin or Get Source (no_friendly-fire.sp - 2336 views - 14.7 KB)
__________________

Last edited by Psyk0tik; 06-01-2022 at 13:07. Reason: Updated to v10.0
Psyk0tik is offline