-------------------------
blockmaker_v3.51 by Necro
-------------------------
This plugin was inspired by FatalisDKs bunnyhop course maker (BCM).
Thanks to SpaceDude for the basics of the grab code from his JediGrab plugin.

I made this for use on hide n seek servers but of course you can use it however you please!

Massive thanks to 'crazyFingers Pat' and 'SloCal Jack Daniels' for help with the custom model textures.

Features:
- Say /bm in chat to bring up the main menu.
- Bind a key to +bmgrab to move the blocks around.
- While grabbing a block, press attack1 to copy a block, attack2 to delete, jump to move a block closer, and duck to move a block further away.
- Create a block by aiming at the floor or a wall.
- Convert block you are aiming at to the selected block type.
- Delete block you are aiming at.
- Rotate the block you are aiming at.
- Optional noclip and godmode to make creating blocks easier.
- Snapping option so when creating and moving blocks, they snap into place next to, above or below other nearby blocks. 
- Snapping gap option to leave a gap between blocks when they snap together.
- Save all blocks to file using mapname, will load on map load. Save folder: \amxmodx\blockmaker\
- In game plugin help including server CVAR values.
- Look at a block to see what type of block it is.

CVARs:
- bm_telefrags 1 (Players near teleport exit die if someone comes through)
- bm_firedamageamount 20.0 (How much the fire damage block hurts per half second)
- bm_damageamount 5.0 (How much the damage block hurts per half second)
- bm_healamount 1.0 (How much life the healer block gives per half second)
- bm_invincibletime 20.0 (How long invincibility lasts in seconds) 
- bm_invinciblecooldown 60.0 (Seconds before invincibility can be used again)
- bm_stealthtime 20.0 (How long stealth lasts in seconds)
- bm_stealthcooldown 60.0 (Seconds before stealth can be used again)
- bm_camouflagetime 20.0 (How long camouflage lasts in seconds)
- bm_camouflagecooldown 60.0 (Seconds before camouflage can be used again)
- bm_nukecooldown 60.0 (Seconds before the nuke can be used again)
- bm_randomcooldown 30.0 (Seconds before the random block can be used again)
- bm_bootsofspeedtime 20.0 (How long the boots of speed last for in seconds)
- bm_bootsofspeedcooldown 60.0 (Seconds until boots can be used again)

Block types:
- Regular (A platform you can stand on)
- Bunnyhop (A platform that disappears for a short period of time after touching it)
- Damage (Hurts you if you stand on top of it)
- Healer (Heals you if you stand on top of it)
- No Fall Damage (You don't take any damage if you fall onto it)
- Ice (You slide around like you're on ice)
- Trampoline (Throws you up in the air)
- Speed Boost (Throws you forwards in the direction you're looking)
- Invincibility (Player becomes invincible for a set amount of time)
- Stealth (Player becomes invisible for a set amount of time)
- Death (Player dies instantly)
- Nuke (Destroys all players on the other team unless a player has invincibility)
- Camouflage (Player looks like the other team for a set amount of time)
- Low Gravity (Jumping from this block you get low gravity until you land) (Thanks C$L for idea)
- Fire (Another damage block but nicer looking) =)
- Slap (You get slapped!) (Pat made this one)
- Random (Random between Invincibility, Stealth, Camouflage, Boots Of Speed, a slap, or death!)
- Honey (Player moves slowly like they're stuck in honey) (Thanks C$L for idea)
- CT Barrier (Only Terrorists can pass through these blocks, acts as solid for Counter-Terrorists)
- T Barrier (Only Counter-Terrorists can pass through these blocks, acts as solid for Terrorists)
- Boots Of Speed (Player runs fast for a set amount of time)


-------------------------
Version 1.1 Changelist
-------------------------
- Made moving blocks while grabbed much smoother!


-------------------------
Version 1.5 Changelist
-------------------------
- Removed glowing on all blocks and replaced with a seperately textured model for each one.
- Added trampoline and speed boost blocks.
- Added a teleporter.
- Removed ground snapping. This fixed the bug where blocks would appear in mid-air on some maps.
- Prevented blocks from being placed underground or in walls where they can get lost.
- Introduced an options menu for godmode and noclip instead of scrolling through in main menu.
- Added 'bm_telefrags' CVAR to control whether or not players near teleport exit die if someone comes through.


-------------------------
Version 3.5 Changelist
-------------------------
- Added block types: Invincibility, Stealth, Death, Nuke, Camouflage, Low Gravity, Fire, Slap, Random, Honey, CT & T Barriers, Boots Of Speed.
- Added CVARs for invincibility, stealth, nuke, camouflage, and boots of speed times. 
- Added dynamic block selection menu so blocks can be added with ease. (No messing with menus)
- Added the ability to rotate blocks. (Blocks can now be vertical and horizontal).
- Added the ability to group blocks together and carry out an operation on multiple blocks.
- Main and teleport menus now contain noclip and godmode toggling.
- Blocks are now deleted when they're stuck. (Instead of when you're just not aiming at a block after releasing it).
- Improved snapping. (Re-wrote the function to allow for vertical blocks).
- Added snapping gap option.
- Added delete all blocks option.
- Added delete all teleports option.
- Added load from file option.
- Added a yes/no menu for some options to prevent accidental use.
- Changed the saving/loading method. (You won't see any difference).
- Using different no fall damage method to prevent godmode bug when using some HNS plugins.


-------------------------
Version 3.51 Changelist
-------------------------
- Fixed bug that allows all players to rotate blocks.
