Raised This Month: $182 Target: $400
 45% 

[TF2] Regenerate Players (and players' weapons)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Plugin ID:
1893
Plugin Version:
1.0
Plugin Category:
All
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    19 
    Plugin Description:
    A portable resupply locker, except better!
    Old 08-17-2010 , 19:02   [TF2] Regenerate Players (and players' weapons)
    Reply With Quote #1

    [TF2] Regenerate Player(s)
    Version 1.0



    Description:
    Regenerates players just like a resupply locker.
    Or: regenerates just weapons and ammo.

    This plugin can be used to change equipped weapons without returning to spawn.
    Client command is included to allow players to change unlocks in the field.
    (Client command can be enabled by cvar.)

    Commands:
    Admin:
    sm_regen <target> - Regenerates <target>'s health, ammo, and weapons.
    sm_regen_nohp <target> - Regenerates <target>'s ammo and weapons. (Health stays the same).

    Client:
    sm_changeitems - Regenerates weapons and ammo (see cvars and notes below).

    Cvars:
    sm_regen_version - plugin version.
    sm_regen_allow_client "0" - Change to "1" to allow clients to use sm_changeitems (see notes).

    Install Instructions:
    1. Place RegeneratePlayer.smx into your addons/sourcemod/plugins/ folder.

    Notes:
    I will not mess with ammo values because it can cause things like 6-shot FaNs etc.

    sm_changeitems:
    • Must be enabled with the cvar listed above.
    • Can only be used once per life to prevent spamming.

    ToDo:
    • Nothing.

    Version History:
    • V1.0
      • Initial Release
    Attached Files
    File Type: sp Get Plugin or Get Source (RegeneratePlayer.sp - 1592 views - 4.7 KB)
    __________________
    DarthNinja is offline
    crazydog
    SourceMod Donor
    Join Date: Jan 2006
    Old 08-17-2010 , 20:49   Re: [TF2] Regenerate Players (and players' weapons)
    Reply With Quote #2

    When I first looked at this, for some reason I thought it meant it turned a player into a resupply locker..now wouldn't that be interesting.
    crazydog is offline
    lionheart1066
    Senior Member
    Join Date: Aug 2009
    Old 08-20-2010 , 08:22   Re: [TF2] Regenerate Players (and players' weapons)
    Reply With Quote #3

    Talk about friendlyfire XD

    Good plugin, stops people from randomly throwing jarate.
    lionheart1066 is offline
    MrSaturn
    SourceMod Donor
    Join Date: Jan 2009
    Old 10-20-2010 , 02:38   Re: [TF2] Regenerate Players (and players' weapons)
    Reply With Quote #4

    Theres not alot of posts here, but thats because this plugin does just what it says and there are no problems.

    I'm using this, 100%. Thanks a bunch.
    __________________
    MrSaturn is offline
    DarthNinja
    SourceMod Plugin Approver
    Join Date: Mar 2009
    Location: PreThinkHook()
    Old 10-20-2010 , 15:50   Re: [TF2] Regenerate Players (and players' weapons)
    Reply With Quote #5

    Quote:
    Originally Posted by MrSaturn View Post
    Theres not alot of posts here, but thats because this plugin does just what it says and there are no problems.

    I'm using this, 100%. Thanks a bunch.
    Thanks for the feedback
    It's fun to be able to change your hats/weapons anywhere, it really makes people go "wuuah?"
    __________________
    DarthNinja is offline
    Dyl0n
    Member
    Join Date: Oct 2011
    Old 12-02-2011 , 00:22   Re: [TF2] Regenerate Players (and players' weapons)
    Reply With Quote #6

    Awesome plugin! Love it. No problems at all.. thanks very much.

    I am also using this 100% thanks again.
    Dyl0n is offline
    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 14:39.


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