Flashbang Remote Control v12.0
This plugin offers control over the flashbang kaboom behavior (especially when team flashed). This plugin is an all in one plugin from all the ones that have been made in amxx.
1. Multilanguage support. For translations please click here
2. Announce (Idea from "Team Flash Snitch"). This plugin announces the moment you have been flashed by a teammate, and the moment you team flashed.
Ex: [Team Flash Control] You flashed a teammate (John)
[Team Flash Control] You have been flashed by John
The name John will appear in team color.
3. Admin announce (Idea from "Team Flash Snitch"). This plugin announces the admins when a player has teamflashed, and the moment the teamflasher is punished.
4. Sound (Idea from "Team Flash Snitch"). The teamflasher hears in his radio "I'm blind!!!" when he flashes just one team mate. If he flashes more than 1 the sound will overlap.
5. Block self flash. It will block the moment when you flash yourself.
6. Block team flash. It will block the moment when you flash your team members.
7. Punish sistem. It includes a sistem that punishes the teamflasher (if set) The player that has been punished isn't allowed to throw flashbangs anymore, even if he has some.
8. Bug fixer (Thanks to MPNumB
). It fixes the exploit. There are moments when people throw flash grenades in certain areas of a map and it totally blinds you, even when you are no where near it.
9. Precision. It shows with precision the person who flashed you.
10. Dinamic flash timing support. This means that if another plugin makes the flash explode sooner or later this plugin will detect it! So no more team flash escapes
11. Special flash block (the new feature as requested by Maurice). The plugin blocks the flash for all players if a teammate is flashed.
12. Dynamic flash light -> add a touch of realism to the moment a player is flashed
13. Color flash -> color of the flash screen effect ( the color and the dynamic flash light are sincronized so the color flash cvars are affecting the dynamic light)
14. Control Pannel -> you can customize all the settings of the plugin exept the colors of the flash
14. API interface, gives you control over almost every plugin feature/function!
FRC FOV Bugfix
FRC Glass Flashbang
FRC Water Flashbang
FRC Can't Buy
FRC Money Punish
FRC Admin LOG
FRC Team Colors
Request an extension!
amx_flash_control_menu (ADMIN_CFG flag) Shows settings menu for flashbang remote control
amx_fcm (ADMIN_CFG flag) Shows settings menu for flashbang remote control
frc_enable 1 // enable the plugin, the API forwards will work!!!
frc_sound 1 // the sound that is sent to the flasher
frc_adminchat 1 // the admin message
frc_block_team_flash 0 // block the moment when you flash your teammates
frc_block_self_flash 0 // block the moment when you flash yourself
frc_block_special_flash 0 // special flash block the explanation is under the cvars
frc_flasher_punish 1 // punish the player that flashed too much
frc_flasher_counter 1 // set to 0 count only the full teamflashes, 1 count all the teamflashes
frc_flasher_mistake_allow 10 // the times that a player is allowed to flash his teammates before being punished
frc_flasher_warn 0 // warn the player
frc_flasher_punish_mode 2 // punish mode: 0 -> until map end, 1 -> number of rounds 2 -> by time
frc_flasher_punish_type 0 // punish type: 0 -> block throw, 1 -> kill when he teamflashes, 2 -> flash himself when he teamflashes
frc_flasher_punish_control (default 2) - punish mode control controls how many rounds/minutes the player will have problems (doesn't work with punish mode 0)
frc_bug_fix 1 // bug fix control toggle
frc_color_mode 2 // 0 - off, 1 - specified color, 2 - random color chose(for all players), 3 - random color for every player
frc_red_color 100 // the red color cvar
frc_green_color 100 // the green color cvar
frc_blue_color 255 // the blue color cvar
frc_dynamic_light 1 // dynamic light
All cvars exept "frc_flasher_mistake_allow" and "frc_color_mode" work on this system: When = 0 they disable the feature that coresponds to them, if not = 0 then the feature works!
tfc_ppl_mistake_allow must be pozitive (>0) becouse if tfc_punish in this case is not equal with 0 the plugin will punish everyone.
Punish system information:
The punish system detects counts how many teammates you have flashed.
If you reach the limit that is held in the cvar frc_flasher_mistake_allow
you will be punished.
The punish can be set how long it takes through the frc_flasher_punish_mode cvar
0 -> until map end
1 -> a number of rounds
2 -> x minutes
The number of rounds/minutes can be set through this cvar frc_flasher_punish_control. It won't work if the frc_flasher_punish_mode is set to 0.
The punish has 3 effects that can be set through the frc_flasher_punish_type cvar
0 -> blocks the ability to throw grenades
1 -> when you teamflash you will be killed
2 -> when you teamflash you will be flashed
Servers using this plugin
FRC.inc file description. Read this if you are interested in the API functions of the plugin!
Tender for "Team Flash Snitch"
MPNumB for "Anti Flashbang Bug"
v3x for Colored Flashbangs
XxAvalanchexX for Flashbang Dynamic Light
* 12.0 - remade some forwards, made the plugin more efficient, added cvar for chat messages, made the dynamic light hookable
* 11.0 - added more forwards and natives for the plugin, some isues fixed!
* 10.0 - api interface, the plugin can be controled by other plugins, or can offer extra info, remade some small parts for better efficiency.
* 9.5 - new method of remembering the owner! Low on memory usage and no need to modify plugin code for more entities!
* 9.1 - last improvements + the plugin can now be seen on servers + new cvar for punish system.
* 9.0 - control pannel + last improvements
* 8.5 - new punish system
* 8.1 - cvar bug fix, flashlight bug fix
* 8.0 - new feature -> color flashbangs, + new name Flashbang Remote Control
* 7.0 - updated all the features, now work 100% + new dynamic light feature
* 6.5 - improvement to the player origin, now the plugin gets the players head
* 6 - major improvement to all the blocks (including the new feature)
* 5.5 - small improvement to the moment a player is flashed (when a player is flashed for a long time the flash will count)
* 5.3 - big improvement to the bug detection
* 5 - improvement to the new feature
* 5.0b - new feature added -> block flash when you flashed a teammate and a enemy together
* 4.5 - bugfix feature added
* 4 - multilang
* 3.5 - added more features, the plugin has a new name "Team Flash Control"
* 3 - optimized plugin (pcvars + new forwards) -> now works 100% (2008-07-11)
* 2 - optimized plugin -> now works > 70% (2008-07-08)
* 1.1 - fixed bug: more than one player can get a message from the same teamflash event
* new cvar: tfc_adminchat (2007-11-04)
* 1.0 - sound on/off cvar: tfc_sound 1/0 (2006-04-14)
* 0.3 - fixed bug: dead spectators will nog get message about teamflash (2006-03-16)
* 0.2 - changed flash owner code, a timer is added, "[Team Flash Snitch]" in green text (2006-03-12)
* 0.1 - initial release (2006-01-25)