Hi, well here is my RLY first plugin...
Description:
With this plugin you can block the Burst Fire (that GLOCK18 and FAMAS have) and Silencer too (that USP and M4A1 have). Some ppl ask me... "why i want to block silencer or burst fire", well... i dont know but why i want to block a command like KILL? (like others plugins)... Some ppl need that for some MODS... this is the same... maybe you have a mod that for some reasons you want to block the silencer and/or the burst fire... so this plugin is for this.
Commands:
- !silencer: Show in chat if the silencer is blocked (in wich weapon is blocked too).
- /silencer: Show in chat if the silencer is blocked (in wich weapon is blocked too).
- !burst: Show in chat if the burst fire is blocked (in wich weapon is blocked too).
- /burst: Show in chat if the burst fire is blocked (in wich weapon is blocked too).
Cvars:
- block_burst (Default: 0)
- 0: Dont block the burst fire in any weapon.
- 1: Block the burst fire only in GLOCK18.
- 2: Block the burst fire only in FAMAS.
- 3: Block the burst fire in two weapons.
- block_sil (Default: 0)
- 0: Dont block the silencer in any weapon.
- 1: Block the silencer only in USP.
- 2: Block the silencer only in M4A1.
- 3: Block the silencer in two weapons.
- fade_enable (Default: 0)
- 0: Disable Screen Fade.
- 1: Enable Screen Fade.
- fade_burstcolor (Default: "255 0 0")
- Color of the Screen Fade when the burst fire is blocked.
- fade_silcolor (Default: "0 255 255")
- Color of the Screen Fade when the silencer is blocked.
- fade_alpha (Default: "20")
- The transparency amount of the Screen Fade.
Credits:
Exolent[jNr] - +attack2 detection
crazyeffect - ML
Changelog:
- Version 1.0
- Version 1.1
- Added ML.
- Added chat color.
- Added ScreenFade (with cvars).
Multilingual:
Image
Multilingual Thread:
http://forums.alliedmods.net/showthread.php?t=99528
Sry for my english.