Raised This Month: $ Target: $400
 0% 

Path Blocker


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands       
sgtbane
Member
Join Date: Feb 2006
Old 05-21-2007 , 15:10   Path Blocker
Reply With Quote #1

Basicly this plugin will allow you to set objects to block people from going places.

I help maintain several servers, and in several of them I have problems with people camping in hard to reach places. I created this plugin to physicaly set an object in a place to prevent them from going there.

Unlike the other 'wall' plugins, with this, you can set the exact size of the wall you want, and once it is placed it will stay there till removed.
I have also added the ability to load and save them so that once they are set, you can forget about them.

/**
* Changelog
*
* version 0.1
* - Intial Attempt
* version 0.2
* - Fixed Calculations
* - Added Model
* - Added 'Kill'(Delete) Features
* version 0.3
* - Added Visual Aid (Beams Forming A Cube, And Center Point)
* version 0.4
* - Added Ability To Load/Save
* - Fixed Various Problems
* version 0.5
* - Added 'Load By Mapname'
* - Added Cvar (block_autoload) To Auto Load Blocks On Mapload
* version 0.6
* - Fixed Various Problems
* version 0.7
* - Added Menu
* version 0.8
* - Added Ability To See Bounding Boxe Of Set Blocks
* - Added Different Colors For Beams (RED = Being Placed | GREEN = Placed)
* - Fixed Problem With Load
* - Organized Code & Added Several Comments
* version 1.0
* - Added Changelog
*/

Try it out and tell me what you think.

Attached is the model required. Simply an orb that can be used as a reference so you can see where the center point of your wall is.

(Set as Cstrike Only, but would probly work with any mods since the only required modules are: <amxmodx>, <amxmisc>, <fakemeta>)
Attached Files
File Type: zip Cstrike.zip (4.3 KB, 204 views)
File Type: sma Get Plugin or Get Source (Block.sma - 882 views - 16.8 KB)
__________________
[Add|Community]

~SgtBane
sgtbane is offline
Send a message via MSN to sgtbane
 


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 08:27.


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