Raised This Month: $32 Target: $400
 8% 

Curse


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands       
sneakret
Member
Join Date: Jul 2012
Old 07-30-2012 , 00:10   Curse
#1

Allows admins to curse players, causing them to inflict less damage and take more damage. Curse severity defaults to 4.0 (take 4x damage, deal 1/4 damage), but can be specified. For example, the following command would curse the blue team so that they all take double damage and deal half damage: sm_curse @blue 2.0

Players are not notified when they are cursed.
A curse lasts until the cursed player disconnects or the plugin reloads.

I use this plugin to handle TF2 spawn campers or really obnoxious snipers that are making the game less fun for other players.
This has only been tested in TF2, but will probably work with other games.

Commands:
  • sm_curse - Curse players.
    Usage: sm_curse <targetname/#userid> [curselevel=4.0]
    Damage inflicted by cursed players is divided by curselevel.
    Damage taken is multiplied by curselevel.
  • sm_uncurse - Uncurse players.
    Usage: sm_uncurse <targetname/#userid>
  • sm_cursed - List cursed players.
    Usage: sm_cursed
Attached Files
File Type: sp Get Plugin or Get Source (curse.sp - 292 views - 8.3 KB)

Last edited by sneakret; 07-30-2012 at 00:13. Reason: Mentioning that it is only tested with TF2.
sneakret is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 07-30-2012 , 03:54   Re: Curse
#2

Wrong section.

Repost in the SourceMod section.
__________________
Arkshine is offline
Closed Thread


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:26.


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