Friendly Mode Mod.
2 Attachment(s)
Quote:
edit: Yeah sorry i uploaded this years ago when i was just a teen, sorry its not original work i was kinda trolling, this is update as of 2021 october 4th . Hope everyone is having a great experience with source mod im so impressed its been around for so long. Keep up the good times and good mods :d i dont really know jack about writing code or source mods for that matter but had a lot of fun running servers! |
Re: Friendly Mode Mod.
1. Sdktools is included in sourcemod, so no one has to download it separately.
2. You've posted 3 identical threads, with the source in one, the description in another, and the third being complete garbage. If the duplicate posts were accidental, they would most likely contain the same data in each post. with how poor this code is, it's no wonder the original author didn't sign it. |
Re: Friendly Mode Mod.
1, Those other two were posted by mistake, I didn't know how to delete a thread. So I just deleted what was written in them.
2, I know the scripting is bit off, but it's free for anyone to edit, all I did was post the original because it worked ok on my own server. Also, No need for you to be such a hard ass on me. sheesh. |
Re: Friendly Mode Mod.
Quote:
|
Re: Friendly Mode Mod.
Just add a entity > 0 check in that function.
|
Re: Friendly Mode Mod.
How Do I do that again? Something like this?
Quote:
|
Re: Friendly Mode Mod.
friendly.sp(30) : warning 217: loose indentation
friendly.sp(37) : warning 217: loose indentation friendly.sp(68) : warning 217: loose indentation friendly.sp(117) : warning 213: tag mismatch friendly.sp(118) : warning 217: loose indentation friendly.sp(126) : warning 219: local variable "weapon" shadows a variable at a preceding level friendly.sp(136) : warning 213: tag mismatch ... Quote:
|
Re: Friendly Mode Mod.
Here is the original thread.
http://forums.alliedmods.net/showthread.php?t=194840 |
Re: Friendly Mode Mod.
Quote:
You can credit Dyl0n as the original plugin author as he made the majority of this plugin. |
Re: Friendly Mode Mod.
Only two concerns about this mod.
- Check to see if the player is dominating anyone. If they are, deny the friendly mode to allow revenge. - Some kind of check to see if the player is in the line of sight of somebody on the same team, by their own movements rather than the other players, or the change in the other players aim. Some people like to be dicks, and if someone is sniping, they'll go rage pyro and shoot flames in front of the scope to block their view, or they'll just stand in the way. Maybe do it this way... if a player moves into the line of sight as a friendly, punish the friendly through a configurable option for a series of offenses (example, first offense, second offense, third offense and so on). Punishments could be the fun commands, could be a plugin command, a kick, a ban, a team change or friendly mode removal. That may seem like a bit much, but I'm just addressing some of the abuses I've seen friendlies do. |
All times are GMT -4. The time now is 15:54. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.