Raised This Month: $51 Target: $400
 12% 

Weapon Blocker 1.3


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
MikeJS
Senior Member
Join Date: Nov 2008
Plugin ID:
789
Plugin Version:
1.3
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    10 
    Plugin Description:
    Stop people from using certain weapons.
    Old 03-01-2009 , 06:42   Weapon Blocker 1.3
    Reply With Quote #1

    Stops people from using weapons specfied in a cvar.

    Cvars:
    sm_wpnblock - Enable/disable plugin

    Commands:
    sm_wpnblock_add - Add a blocked weapon.
    sm_wpnblock_clear - Clear list of blocked weapons.
    sm_wpnblock_list - List blocked weapons.

    Example:
    Code:
    sm_wpnblock "1"
    sm_wpnblock_clear
    sm_wpnblock_add "tf_weapon_flaregun"
    sm_wpnblock_add "tf_weapon_pipebomblauncher" // Blocks flareguns and sticky launchers
    TF2 Weapons:
    Scout: tf_weapon_scattergun (both scatterguns), tf_weapon_pistol_scout, tf_weapon_lunchbox_drink, tf_weapon_bat, tf_weapon_bat_wood
    Soldier: tf_weapon_rocketlauncher, tf_weapon_shotgun_soldier, tf_weapon_shovel
    Pyro: tf_weapon_flamethrower (both flamethowers), tf_weapon_shotgun_pyro, tf_weapon_flaregun, tf_weapon_fireaxe (both axes)
    Demoman: tf_weapon_grenadelauncher, tf_weapon_pipebomblauncher, tf_weapon_bottle
    Heavy: tf_weapon_minigun (both miniguns), tf_weapon_shotgun_hwg, tf_weapon_lunchbox, tf_weapon_fists (both fists)
    Engineer: tf_weapon_shotgun_primary, tf_weapon_pistol, tf_weapon_wrench, tf_weapon_pda_engineer_destroy, tf_weapon_pda_engineer_build (people can still use console commands to build)
    Medic: tf_weapon_syringegun_medic (both syringe guns), tf_weapon_medigun (both mediguns), tf_weapon_bonesaw (both saws)
    Sniper: tf_weapon_sniperrifle, tf_weapon_smg, tf_weapon_club
    Spy: tf_weapon_revolver, SAPPER?, tf_weapon_knife, tf_weapon_pda_spy (can still disguise with console commands)
    Attached Files
    File Type: sp Get Plugin or Get Source (wpnblock.sp - 6741 views - 2.5 KB)

    Last edited by MikeJS; 05-14-2009 at 08:17.
    MikeJS 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 03:19.


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