View Single Post
Author Message
Doc-Holiday
AlliedModders Donor
Join Date: Jul 2007
Old 07-21-2009 , 04:20   [CSS] Bomb Bonus
Reply With Quote #1

Bomb Bonus
Version 2.0


Description:
This plugin was designed for giving an extra insentive to completeing objectives on bomb maps.
It allows you to set theamount of cash you get or is taken away. It also is fully modular.
It has cvars that allows youto only have on what you want.
And last but not least it displays text to alert the client of what is going on.






Cvars:
  • bb_toggle <1> - Turns the plugin on and off
  • bb_dropon <1> - Turns bomb drop deduction on and off .
  • bb_pikupon <1> - Turns bomb pick up bonus on and off .
  • bb_planton <1> - Turns bomb plant bonus on and off.
  • bb_defon <1> - Turns bomb defuse bonus on and off.
  • bb_platon <1> - Turns bomb plant attempt bonus on and off.
  • bb_defaton <1> - Turns bomb defuse attmpt bonus on and off.
  • bb_bombbonus <500> - Amount of cash for bomb pickup and drop.
  • bb_plantbonus <1000> - Amount of cash for planting the bomb.
  • bb_defusebonus <1000> - Amount of cash for planting the bomb.
  • bb_platt <500> - Amount of cash for attempting to plant the bomb.
  • bb_defatt <500> - Amount of cash for attempting to defuse the bomb.
  • bb_print <1> - Selects the type of display text you want 1=Hint | 2=Chat | 3=Center
  • bb_print2 <3> - Must be differnt from bb_print. This shows who is defusing or planting the bomb.

Server(s):
Credits:
  • Greyscale - For showing me errors and fixing some code.
  • TESLA-X4 - For fixing errors
ToDo List:
  • Nothing
Change log:


1.0
Initial Release
1.1
Bug fixes:
Changed
Code:
GetEntDataEnt2(client, MoneyOffset);
with
Code:
GetEntData(client, MoneyOffset, 4);
1.2
Removed explode and defuse parts of plugin till i can get it working. Every thing else works fine
2.0
Added in defuse bonus for Ct's
Attached Files
File Type: sp Get Plugin or Get Source (bonus-edit.sp - 1851 views - 8.7 KB)

Last edited by Doc-Holiday; 08-09-2009 at 18:31.
Doc-Holiday is offline