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.
- 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