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

Buy a Bomb v2.0 (UPDATED)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   General Purpose        Approver:   Hawk552 (427)
X-Script
BANNED
Join Date: Jul 2007
Location: (#504434)
Old 08-16-2007 , 13:40   Buy a Bomb v2.0 (UPDATED)
Reply With Quote #1

Buy a Bomb(v2.0)
VERSION 2.0 TESTED AND WORKS
============================================= ============================================= =
Version 1.5:

.:Information:.
Allows T's only to buy a bomb with a simple chat command, when you buy the bomb you will glow and have 600 gravity instead of 800. Creates a red glow around the user who buys the bomb. The glowing stops when the user dies, untill he buys another bomb.



.:Commands/Cvars:.
(CHAT) say /buybomb - Makes the client purchase the bomb (T Only)
(CHAT) say_team /buybomb - Makes the client purchase the bomb (T Only)
(CHAT) say /bb - Makes the client purchase the bomb (T Only)
(CHAT) say_team /bb - Makes the client purchase the bomb (T Only)
(CVAR) amx_bombcost - Controls the cost of the bomb (Default: $1100)
(CVAR) amx_bomb_buy - Toggles the plugin on and off (Default: 1)
(CVAR) amx_bomb_buyzone - Controls whether the T has to be in the buyzone. (Default: 0)



.:Modules:.
cstrike
fun

.:Credits:.
Toaster v2.1 - Testing Purposes
Yamikaituo - Suggestions

.:Notices:.
When a client enters the server 10 seconds after he chose a team and class he will be displayed a message telling him how to work this plugin. When a client has bought the bomb they will glow untill the round is over. When you buy the bomb you will glow a certain color, this is so the CT's know who to kill first. The gravity is just there for a slight avantage for the T's. Multiple bombs can be planted by the same or different user at the same time, at any bombsite.

.:Approvers Note:.
There is another plugin like this but it's old and is no longer updated / supported by it's author. My plugin has different features from that one also. Also, alot more controlable for the admins, more contralability will be added in version 2.0!


.:Changelog:.
Version 1.0:
initial release

Version 1.5:
Added 600 gravity for T's that buy the bomb.
Added a red glow for T's that buy the bomb.
Added "buyzone" CVAR to decide if you need to be in the buyzone.
Cleaned up the code a little bit, a tad more white-spaces.

Version 2.0:
Added four new ways to buy the bomb
Changed the glow color slighty
Fixed "buyzone" CVAR to something better
Added more coding and fixed the code
Pending more features

============================================= ============================================= =
Version 2.0:

.:Information:.
Tired of never getting the bomb when you want to get the bomb? Finally want to trick those CT's in whos got the bomb? Well wakeup because Version 2.0 of Buy a Bomb has arrived! Major coding changes have been made, new features, code cleanup and more! We've added new ways to buy the bomb that will make it alot easier and faster and the CT's will never know what hit them. When you buy the bomb you will be given 600 gravity and will glow red untill you die, or you drop the bomb.

.:Commands/Cvars:.
(CHAT) say /buybomb - Makes the client purchase the bomb (T Only)
(CHAT) say_team /buybomb - Makes the client purchase the bomb (T Only)
(CHAT) say /bb - Makes the client purchase the bomb (T Only)
(CHAT) say_team /bb - Makes the client purchase the bomb (T Only)
(CVAR) amx_bombcost - Controls the cost of the bomb (Default: $1100)
(CVAR) amx_bomb_buy - Toggles the plugin on and off (Default: 1)
(CVAR) amx_bomb_buyzone - Controls whether the T has to be in the buyzone. (Default: 0)
(CONSOLE) buybomb - Makes the client purchase the bomb in console (T Only)
(CONSOLE) bb - Makes the client purchase the bomb in console (T Only)

.:Console Tips:
We've made a much faster way of buying the bomb. You can now bind a key to buy the bomb instead of having to type it out! You can do it one of two ways:
bind f "buybomb" - Everytime you press 'f' you will buy the bomb.
bind o "bb" - Everytime you press 'o' you will buy the bomb.
You can change the key to whatever you'd like too and whatever suits your needs the best.

.:Modules:.
cstrike
fun

.:Credits:.
Lee - Coding Help / Code Cleanup (Major Help)
Konkelikonk - Suggestion / Feedback

.:Notices:.
Version 2.0 creates a more fun and easier gameplay when using this plugin. It challenges the CT's and keeps them on their toes, it also gives the T's a break from whining and complaining about "Oh, I don't have the bomb!" or "Give me the bomb now!". The default CVAR's were switched over to Version 2.0 so it means they are still the same but you can always change them. Also notice i'm leaving version 1.5 open to the public incase you don't like version 2.0. So now you can choose between version 1.5 or 2.0 to use on your server. AmxModX user Lee was a big part in helping me with Version 2.0, i'm not fully done with 2.0 i'm going to add a little suprise for you guys!
Attached Files
File Type: sma Get Plugin or Get Source (buy_a_bomb.sma - 6022 views - 2.5 KB)
File Type: sma Get Plugin or Get Source (buy_a_bomb1.sma - 3795 views - 2.7 KB)

Last edited by X-Script; 08-18-2007 at 16:52.
X-Script 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 05:45.


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