SM Damage
7 Attachment(s)
/********************************************* **********************************
SM Damage Version: 2.0 Author: SWAT_88 1.0 First version, should work on basically any mod 1.1 Added Damage Init for each client 1.2 Added Multi Mod Support 1.3 Now the damage is tracked correctly in stats plugins. 1.4 Fixed g_attacker bug. 1.5 Added Different damage multiplier per weapon (only in MultiMod version) 1.6 Fixed commands from server console. (only in MultiMod version) 1.6 Added Different damage amount per weapon. (only in MultiMod version) 2.0 Fixed this error: "[SM] Native "GetClientWeapon" reported: Client index 0 is invalid". Description: Individual damage multiplier for each client.There are 4 version of the plugin:
sm_damage <player> <multiplier>Cvars: sm_damage_enabled "1" - 0: disables the plugin - 1: enables the pluginSetup (SourceMod): Install the smx file to addons\sourcemod\plugins.TO DO: Nothing.Copyright: Everybody can edit this plugin and copy this plugin.Thanks to: AtomicStrykerDonations: I'm a student and code this plugins in my freetime, while you probably play games :).Notice: This HAVE FUN!!! ********************************************* **********************************/ |
Re: SM Damage
This is a good plugin but a nice way to grief with hakers on a server would be the ability to make there damage 0 is that possible to add?
|
Re: SM Damage
will this work for other games, like hl2dm? or not
|
Re: SM Damage
Can i set a global multiplier, or just per player?
|
Re: SM Damage
Quote:
Because the event is fired after the damage; also if I write Plugin_Handled; Damage is taken. The only way to block damage is to give the victim health, but then a headshot with a weapon will kill the victim. I can add it but I think it's useless. Quote:
I will test it. Quote:
This are the standard sm targets. You must write this every time if a player joins the server, because he has no multiplier. But if you dislike this solution please post again and I will add this feature. |
Re: SM Damage
Yes, please :) A global setting would be nice, that is applied to all players automatically.
|
Re: SM Damage
Quote:
Ok, I will add it. |
Re: SM Damage
Added global setting that is applied to all players automatically.
Added multimod support. Have Fun!:up: |
Re: SM Damage
ty, i will test it :)
|
Re: SM Damage
Umm i dont know if this is itended to work so, but the killstat plugins doesnt write the actual damage after someone is killed...
It says, that kills are made even with 90-95 dmg... |
All times are GMT -4. The time now is 07:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.