[CS:S] Anti Flash v1.2
1 Attachment(s)
Description:
This plugin will prevents players to be blinded and (or) deafened. Prevents dead players, teammates or an owner to be flashed. Console Variables: Code:
// Enables/Disables flashbangs to blind players Sourcemod 1.3 or higher Credits: SAMURAI16 for original plugin which can be found here Special thanks to: Bacardi for this http://forums.alliedmods.net/showpos...1&postcount=13 But he thinks that this way which he described there is useless. LOL :D Installation: Put anti-flash.sp to the sourcemod/scripting folder Put anti-flash.smx to the sourcemod/plugins folder Start server to auto-generate config file Then configure the plugin in the config file here cstrike/cfg/sourcemod/plugin.anti-flash.cfg Change map or restart server or execute on the server console this "exec sourcemod/plugin.anti-flash.cfg" Changelog: Quote:
|
Re: [CS:S] Anti Flash v1.0
You better use that [CS:S] Flashbang Tools
|
Re: [CS:S] Anti Flash v1.0
Quote:
|
Re: [CS:S] Anti Flash v1.0
You not mind if I try make another versio, but this would only affect flashbang deafness... ?
*edit Not blindness. |
Re: [CS:S] Anti Flash v1.0
it prevents a player to be both blinded and deafened
and with it you can remove deafen or blind or both to opposite players Of course, I don't. Try another version. But I think it wouldn't be sensible, because of this plugin Edit What do you mean? It would affect both blindness and deafness |
Re: [CS:S] Anti Flash v1.0
I want replace that *beep sound to pure mute, using fade what @Greyscale mention
with settings |
Re: [CS:S] Anti Flash v1.0
my plugin just blocks it at all with dsp_player command
and player can hear everything |
Re: [CS:S] Anti Flash v1.0
Anyone can make whatever they want. Just if you use code from anyone else, make sure you give credit.
|
Re: [CS:S] Anti Flash v1.0
Since it is not a requirement for a plugin to be bug-free for approval, I will approve it. But you might want to double-check this:
Code:
if (b_antiteam && GetClientTeam(i) == GetClientTeam(client) && i != client) |
Re: [CS:S] Anti Flash v1.0
Quote:
thats what I intended but I just noticed that i could call GetClientTeam(client) only once PHP Code:
Found bug, now fixed Plugin optimized |
All times are GMT -4. The time now is 14:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.