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

[CS:S] Move Bomb


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Plugin ID:
2532
Plugin Version:
1.2
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Allows the planted bomb to be moved
    Old 08-31-2011 , 11:58   [CS:S] Move Bomb
    Reply With Quote #1

    DESCRIPTION:
    This plugin will move the planted bomb to your players feet (or the feet of the player you're spectating), or, if you're in free camera mode, it will put the bomb at eye level

    This plugin is designed to be for fun. For when chicken CTs don't try to defuse, admins can "move" the bomb so that it will explode near the fleeing CT. The planter of the bomb still gets the points if it explodes.

    It is defaulted to allow admins with CHEAT flag persmission to use this command. You can customize access to this command using the admin_overrides.cfg and adding whatever flag you want to the "sm_movebomb", example:

    "sm_movebomb" "o"

    That would set the permission for this command to be the CUSTOM1 flag

    CVARS:
    sm_movebomb from in-game consle (or /movebomb and !movebomb from chat, assuming you have "!" set as your PublicChatTrigger in core.cfg)
    - You cannot use this from out-of-game console (such as HLSW)

    CREDITS:
    xaider for code samples from Advanced Commands
    - regarding vectors

    Bacardi for previous plugin help with the NoBombDamage
    - regarding OnEntityCreated and OnEntityDestroyed
    - and for help with optimizing this plugin (I still have a lot to learn)

    Changelog
    Version 1.0
    - Initial public release

    Version 1.1
    - Changed from RegConsoleCmd to RegAdminCmd and removed CheckCommandAccess

    Version 1.2
    - Removed unneeded SDKHooks and OnConfigsExecuted per Bacardi's suggestions
    - Removed SDKHooks and used HookEvent instead
    - Removed unneeded check if planted_c4 != -1 (thanks KyleS)

    INSTALLATION:
    Put the MoveBomb.smx in your cstrike/addons/sourcemod/plugins folder and either load the plugin manually, change the map, or restart the server.

    Admins with the "z" flag will always have access to this command (sm_movebomb) regardless of what you set it to in admin_overrides.cfg file.
    Attached Files
    File Type: sp Get Plugin or Get Source (MoveBomb.sp - 1341 views - 3.1 KB)

    Last edited by TnTSCS; 09-01-2011 at 10:35. Reason: Update from 1.1 to 1.2
    TnTSCS is offline
     


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


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