Burst/Silencer Blocker
2 Attachment(s)
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:
Exolent[jNr] - +attack2 detection crazyeffect - ML Changelog:
Quote:
Multilingual Thread: http://forums.alliedmods.net/showthread.php?t=99528 Sry for my english. |
Re: Burst/Silencer Blocker
A lot more efficient way would be to use the weapon offset m_flNextSecondaryAttack so you would not need FM_CmdStart. If you don't know how, tell me.
|
Re: Burst/Silencer Blocker
Cool :P
|
Re: Burst/Silencer Blocker
Quote:
PHP Code:
1: block_sil 0 default (i can use +attack2, good) 2: change block_sil to 1 (i have to change to another weapon and then come back to M4A1 to block the +attack2 command) 3: now if i go back to block_sil 0 (i have to do sv_restart to unblock the +attack2 in M4A1) ---------------------------- Update Quote:
|
Re: Burst/Silencer Blocker
Quote:
Besides, how often is an admin going to change the value of these cvars? |
Re: Burst/Silencer Blocker
There is also the solution to use a command to act like a cvar, so if a new value is given you could update right away.
|
Re: Burst/Silencer Blocker
Code:
[pl] |
Re: Burst/Silencer Blocker
*Credits added.
*ML Thread added *PL translate added Quote:
Quote:
Quote:
|
Re: Burst/Silencer Blocker
It's basically my method with a global variable, except the you use commands instead of cvars, so you know when the value is changed, so then you could update the value for other players weapons.
|
Re: Burst/Silencer Blocker
Lithuanian
Code:
[lt] |
All times are GMT -4. The time now is 03:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.