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

TF2 Weapons Locker OnTheGo (Updated 9/26/2008)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
the_reverend
Junior Member
Join Date: Aug 2008
Plugin ID:
542
Plugin Version:
1.1.0
Plugin Category:
Gameplay
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Provides ammo, health, metal, & uber commands for both players & admins
    Old 09-09-2008 , 00:09   TF2 Weapons Locker OnTheGo (Updated 9/26/2008)
    Reply With Quote #1

    Description

    This plugin gives both admins & players to ability to reload ammo, recharge health, recharge metal, and give instant Ubers. There are other plugins out there that perform similar functions, but they either lack some of the included functions or they include more features than desired. I just wanted to make one that was all inclusive without any speciality. This plugin will probably best serve achievement & fun servers, but can also be used on normal pub boxes if one is mischievous.

    Convars


    sm_weaponslocker_enable 0/1 - Enables/Disables players abilities to use console or chat commands. Default: 0


    Commands

    ** Player commands to be used in chat with a ! or / **
    sm_ammo - Fully reloads ammo and clip on a per class basis
    sm_health - Restores 100 percent health on a per class basis
    sm_metal - Gives Engineers 200 metal
    sm_uber - Gives Medics an immediate ubercharge

    ** Admin commands to be used console - Requires SLAY privledges**
    sm_giveammo <target> - Fully reloads the targets ammo & clip
    sm_givehealth <target> <amount> - Sets the targets health to the specified amount. (1-500)
    sm_givemetal <target> <amount> - Sets the targeted Engi's metal to the specified amount. (1-200)
    sm_giveuber <target> <amount> - Sets the targeted Medic's ubercharge meter to the specified amount. (1-100)


    Installation

    Put weaponslocker.smx in addons\sourcemod\plugins\


    Changelog

    Version 1.1.0 - 09.26.2008
    - Cleaned up plugin error handling
    - Fixed a bug that sets sniper SMG ammo to zero on sm_giveammo
    - Added the requirement for SLAY access to admin commands
    - Added logging of admin commands
    - Added Convar to disable user console & chat commands

    Version 1.0.0 - 09.08.2008
    - Initial release.
    Attached Files
    File Type: sp Get Plugin or Get Source (weaponslocker.sp - 4095 views - 10.0 KB)

    Last edited by the_reverend; 09-29-2008 at 14:36. Reason: Version 1.1.0 Release
    the_reverend is offline
     



    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 06:49.


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