Raised This Month: $ Target: $400
 0% 

Sunglasses v1.0 (Anti-Flashbang Shades)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   SniperBeamer (61)
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 04-03-2004 , 14:35   Sunglasses v1.0 (Anti-Flashbang Shades)
Reply With Quote #1

Sunglasses v1.0
Version 1.0
Author: Calzinger; Build; [email protected] (MSN) xSouLHeLLTemplaR (AIM)
Author: AssKicR; Fix & Addition; [email protected] (MSN) DaAssKicR (AIM)
Thanks to Blunted1 for testing, suggestions, and other important aid.



This plugin will add sunglasses to Counter-Strike. You can buy/sell your pair
of sunglasses. While wearing a pair of sunglasses, your vision will be dimmed
slightly, but you will be immune to flashbangs. Be careful though, if you are
not wearing a pair of sunglasses, you can be struck by the sun and be blinded
temporarily! You can set the cost of sunglasses, the amount of darken of the
sunglasses, and enable/disable buyzone & buytime.
  • Requirements:
    • Compiled on 0.9.4.
    • Tested successfully on 0.9.3.
    • Tested successfully on 0.9.4.
    • Should work successfully on 0.9.5.

  • Admin Commands:
    • amx_shades < nick, uniqueid, #userid, @TEAM, or * > <- Gives shades to specified client(s)
    • amx_unshades < nick, uniqueid, #userid, @TEAM, or * > <- Causes shades to break

  • Client Commands:
    • say /shades <- Displays the Sunglasses help menu
      buyshades <- Buys a pair for specified player
      (Player must be in buyzone if specified by CVAR)
    • sellshades <- Sells player's pair of shades for 75% of the sell price

  • Server CVARs:
    • amx_shades_darken "100 - 200" <- Amount of darkness when a player has sunglasses on
    • amx_shades_cost "1500 - 10000" <- Amount of cash it takes to buy a pair of sunglasses
    • amx_shades_buyzone 1/0 <- If on, player will required to be in a buyzone when buying sunglasses
    • amx_shades_buytime 1/0 <- If on, only allows player to buy sunglasses during buytime
    • amx_shades_advertise 1/0 <- If on, people will at time be blinded by the sun, reminding them that they should have bought sunglasses
    • amx_shades_on 1/0 <- ON/OFF CVAR

Tested for AMXx by DoubleTap
Attached Files
File Type: sma Get Plugin or Get Source (sunglasses.sma - 7790 views - 12.5 KB)
__________________
My Plugins

Got ??
AssKicR 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 20:38.


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