AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [TF2]Team Damage (https://forums.alliedmods.net/showthread.php?t=299174)

Facksy 07-05-2017 20:39

[TF2]Team Damage
 
1 Attachment(s)
Description:

This plugin works with "Friendly Fire", now when you shoot an ally, you'll be damaged instead of him. You will be damaged the amount of damage your weapon do.

Commands:

"sm_teamdamage": Enable or disable this plugin.
"sm_damageteam": Same as above.

zyox123cc 07-06-2017 01:02

Re: [TF2]Team Damage
 
https://youtu.be/oZntWd3m_bg
https://youtu.be/ApNUQBFBCiA
Quote:

07/06/2017 - 12:51:50: [SM] [0] GetClientTeam
L 07/06/2017 - 12:51:50: [SM] [1] Line 348, C:\hlserver\tf2\tf\addons\sourcemod\scripting \include\tf2_stocks.inc::TF2_GetClientTeam
L 07/06/2017 - 12:51:50: [SM] [2] Line 80, C:\hlserver\tf2\tf\addons\sourcemod\scripting \teamdamage.sp::Event_Player_Death
L 07/06/2017 - 12:52:26: [SM] Exception reported: Client index 0 is invalid
L 07/06/2017 - 12:52:26: [SM] Blaming: teamdamage.smx
L 07/06/2017 - 12:52:26: [SM] Call stack trace:
L 07/06/2017 - 12:52:26: [SM] [0] GetClientTeam
L 07/06/2017 - 12:52:26: [SM] [1] Line 348, C:\hlserver\tf2\tf\addons\sourcemod\scripting \include\tf2_stocks.inc::TF2_GetClientTeam
L 07/06/2017 - 12:52:26: [SM] [2] Line 54, C:\hlserver\tf2\tf\addons\sourcemod\scripting \teamdamage.sp::Event_Player_Hurt
L 07/06/2017 - 12:52:26: [SM] Exception reported: Client index 0 is invalid
L 07/06/2017 - 12:52:26: [SM] Blaming: teamdamage.smx
L 07/06/2017 - 12:52:26: [SM] Call stack trace:
L 07/06/2017 - 12:52:26: [SM] [0] GetClientTeam
L 07/06/2017 - 12:52:26: [SM] [1] Line 348, C:\hlserver\tf2\tf\addons\sourcemod\scripting \include\tf2_stocks.inc::TF2_GetClientTeam
L 07/06/2017 - 12:52:26: [SM] [2] Line 80, C:\hlserver\tf2\tf\addons\sourcemod\scripting \teamdamage.sp::Event_Player_Death
L 07/06/2017 - 12:52:43: [SM] Exception reported: Client index 0 is invalid
L 07/06/2017 - 12:52:43: [SM] Blaming: teamdamage.smx
L 07/06/2017 - 12:52:43: [SM] Call stack trace:
L 07/06/2017 - 12:52:43: [SM] [0] GetClientTeam
L 07/06/2017 - 12:52:43: [SM] [1] Line 348, C:\hlserver\tf2\tf\addons\sourcemod\scripting \include\tf2_stocks.inc::TF2_GetClientTeam
L 07/06/2017 - 12:52:43: [SM] [2] Line 59, C:\hlserver\tf2\tf\addons\sourcemod\scripting \teamdamage.sp::Event_Player_Hurt
L 07/06/2017 - 12:52:52: [SM] Exception reported: Client index 0 is invalid
L 07/06/2017 - 12:52:52: [SM] Blaming: teamdamage.smx
L 07/06/2017 - 12:52:52: [SM] Call stack trace:
L 07/06/2017 - 12:52:52: [SM] [0] GetClientTeam
L 07/06/2017 - 12:52:52: [SM] [1] Line 348, C:\hlserver\tf2\tf\addons\sourcemod\scripting \include\tf2_stocks.inc::TF2_GetClientTeam
L 07/06/2017 - 12:52:52: [SM] [2] Line 54, C:\hlserver\tf2\tf\addons\sourcemod\scripting \teamdamage.sp::Event_Player_Hurt
L 07/06/2017 - 12:52:52: [SM] Exception reported: Client index 0 is invalid
L 07/06/2017 - 12:52:52: [SM] Blaming: teamdamage.smx
L 07/06/2017 - 12:52:52: [SM] Call stack trace:
L 07/06/2017 - 12:52:52: [SM] [0] GetClientTeam
L 07/06/2017 - 12:52:52: [SM] [1] Line 348, C:\hlserver\tf2\tf\addons\sourcemod\scripting \include\tf2_stocks.inc::TF2_GetClientTeam
L 07/06/2017 - 12:52:52: [SM] [2] Line 80, C:\hlserver\tf2\tf\addons\sourcemod\scripting \teamdamage.sp::Event_Player_Death
The Cow Mangler 5000
The Scorch Shot
Can make the player fire
The Tribalman's Shiv
The Boston Basher
Can make the player bleeding

Can cause damage to the weapons will repel the player
Whether to add a new cvar
Limit blu red

Facksy 07-06-2017 18:18

Re: [TF2]Team Damage
 
Fixed the issue "Client index 0 is invalid"

Facksy 07-29-2019 10:03

Re: [TF2]Team Damage
 
Updated code, new syntax


All times are GMT -4. The time now is 09:37.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.