Raised This Month: $ Target: $400
 0% 

[TF2] Remove Weapons


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
Starman2098
Junior Member
Join Date: Jul 2008
Plugin ID:
1006
Plugin Version:
1.3
Plugin Category:
Admin Commands
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Remove a players weapons.
    Old 07-15-2009 , 02:03   [TF2] Remove Weapons
    Reply With Quote #1

    Remove Weapons

    Description:
    This is my first plugin ever, so please bear with it, lol. I originally made this for my server and decided later that i should probably share it. My server runs a no spawn camping rule, and people tend to want to break it, i used to kick these players, but now instead i just remove (lock) their weapons until they use a weapon locker to get them back. I also added the command to the admin menu for any admin with the Kick flag.

    ConVars/Commands:
    • sm_rweapons: Remove/Lock a players weapons until they visit a weapon locker.
    • sm_rweapons_show: Toggles the ingame messages for this plugin on and off (0 = off, 1 = on)
    Changelog:
    • Version 1.3 ( 7/19/09 )
      • Added "sm_rweapons_show" to allow the messages to be toggled on and off.
      • Added in AutoExecConfig to create a config file for the plugin so a default can be set. To configure go to tf->cfg->sourcemod->rweapons.cfg
    • Version 1.2 ( 7/18/09 )
      • Added support for the @all/@blue/@red/@bots commands
    • Version 1.1 ( 7/17/09 )
      • Fixed the admin menu, i accidently had it set for the ban flag instead of the kick flag.
    • Version 1.0 ( 7/15/09 )
      • Initial Release
    Notes:
    This is my first plugin, i know its pretty basic
    Attached Files
    File Type: sp Get Plugin or Get Source (removeweapons.sp - 7312 views - 4.7 KB)

    Last edited by Starman2098; 07-19-2009 at 16:16.
    Starman2098 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 16:30.


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