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

[TF2] Jarate Immunity


Post New Thread Reply   
 
Thread Tools Display Modes
Author
341464
Senior Member
Join Date: Dec 2010
Location: GetClientEyePosition
Plugin ID:
2828
Plugin Version:
1.01
Plugin Category:
Admin Commands
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Makes Player Immune To Jarate
    Old 03-06-2012 , 23:16   [TF2] Jarate Immunity
    Reply With Quote #1

    Jarate Immunity


    YES THE ABILITY TO CONTROL THE IMMUNITY OF OTHERS IS TEMPRORAIRLY REMOVED, I RUSHED THE UPDATE THIS MORNING.

    A plugin that makes one immune to Jarate.
    I'm surprised no one has made this yet, at least I can't really find one.


    Commands:
    Code:
    sm_ji - Enable Jarate Immune on yourself.
    Overrides:
    Code:
    sm_ji_access - People with this flag can enable the immunity on themselves. (Default: everyone)

    Changelog
    Code:
    Version 1.0 - March 7th, 2012
    + Public Release.
    Version 1.01 - March 7th, 2012
    * Fixed ReplyToTargetError
    Version 1.1 - July 28th, 2015
    * Rewrote the entire plugin, much cleaner and more efficient. 
    * Renamed the plugin from antijarate to JarateImmunity - MAKE SURE TO REMOVE THE OLD ONE.
    Attached Files
    File Type: sp Get Plugin or Get Source (JarateImmunity.sp - 1028 views - 1.3 KB)
    __________________

    Last edited by 341464; 07-27-2015 at 18:44. Reason: Credits
    341464 is offline
    Send a message via Skype™ to 341464
    McFlurry
    Veteran Member
    Join Date: Mar 2010
    Location: RemoveEdict(0);
    Old 03-06-2012 , 23:23   Re: [TF2] Jarate Immunity
    Reply With Quote #2

    Did you forget to attach the plugin.
    __________________
    McFlurry is offline
    Send a message via Skype™ to McFlurry
    341464
    Senior Member
    Join Date: Dec 2010
    Location: GetClientEyePosition
    Old 03-06-2012 , 23:26   Re: [TF2] Jarate Immunity
    Reply With Quote #3

    Oopsie, reminded that few mins later, sorry
    __________________
    341464 is offline
    Send a message via Skype™ to 341464
    RedSword
    SourceMod Plugin Approver
    Join Date: Mar 2006
    Location: Quebec, Canada
    Old 03-07-2012 , 23:25   Re: [TF2] Jarate Immunity
    Reply With Quote #4

    Just wondering; have you tried hooking the normal jarate event (http://wiki.alliedmods.net/Team_Fort...player_jarated) and modify the netprops of the player so he isn't affected ? I'm pretty sure there is one.

    I'm also wondering why you decided to hook a UserMessage rather than an Event.

    Red
    __________________
    My plugins :
    Red Maze
    Afk Bomb
    RAWR (per player/rounds Awp Restrict.)
    Kill Assist
    Be Medic

    You can also Donate if you appreciate my work

    Last edited by RedSword; 03-07-2012 at 23:26.
    RedSword is offline
    341464
    Senior Member
    Join Date: Dec 2010
    Location: GetClientEyePosition
    Old 03-08-2012 , 04:20   Re: [TF2] Jarate Immunity
    Reply With Quote #5

    Quote:
    Originally Posted by RedSword View Post
    Just wondering; have you tried hooking the normal jarate event (http://wiki.alliedmods.net/Team_Fort...player_jarated) and modify the netprops of the player so he isn't affected ? I'm pretty sure there is one.

    I'm also wondering why you decided to hook a UserMessage rather than an Event.

    Red
    I tried hook event, it doesn't work to me.
    At least at the first time when I come up with this idea.
    __________________
    341464 is offline
    Send a message via Skype™ to 341464
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 03-08-2012 , 10:51   Re: [TF2] Jarate Immunity
    Reply With Quote #6

    Quote:
    Originally Posted by RedSword View Post
    Just wondering; have you tried hooking the normal jarate event (http://wiki.alliedmods.net/Team_Fort...player_jarated) and modify the netprops of the player so he isn't affected ? I'm pretty sure there is one.

    I'm also wondering why you decided to hook a UserMessage rather than an Event.

    Red
    The game does not fire the event. There are a few others like that in TF2 as well.
    psychonic is offline
    Tylerst
    Veteran Member
    Join Date: Oct 2010
    Old 03-08-2012 , 12:03   Re: [TF2] Jarate Immunity
    Reply With Quote #7

    Couldn't you just use TF2_OnConditionAdded and remove it if it's TFCond_Jarated?

    Nice plugin anyway, though.

    Last edited by Tylerst; 03-08-2012 at 12:04.
    Tylerst is offline
    341464
    Senior Member
    Join Date: Dec 2010
    Location: GetClientEyePosition
    Old 07-27-2015 , 21:12   Re: [TF2] Jarate Immunity
    Reply With Quote #8

    Just updated using that, yes it took me 3 years to revisit it and realize that.
    __________________
    341464 is offline
    Send a message via Skype™ to 341464
    Reply


    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:28.


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