This one is more of a "fun" plugin. Doesn't add much to the game play, but I still like it as it adds a bit to the realism. This plugin will turn off the flashlight when players are holding a "non flashlight" weapon. Such as melee, medkits, molotovs, all of those weapons without any kind of flashlight. Again this was just made for fun, as some of my friends wanted this for their realism games, without flashlight leaking out through a wooden bat.
Upon survivor wielding a "non flashlight" weapon, flashlight will remain off until survivor switches weapon.
This plugin require SDKHooks
Code: Version 1.2 - 18/10-2011 ~ Fixed players being able to toggle flashlight on ladder. ~ Fixed players being unable to toggle on their flashlight after being pin downed by an infected player. ~ Fixed players being unable to toggle on their flashlight after having used a ladder. Version 1.1.1 - 10-10-2010 ~ Fixed out of bounds on OnEndTouch. Version 1.1 + Added AWP to flashlight weapons + Added Atomic's ladder fix. Version 1.00 Initial release
Version 1.2 - 18/10-2011 ~ Fixed players being able to toggle flashlight on ladder. ~ Fixed players being unable to toggle on their flashlight after being pin downed by an infected player. ~ Fixed players being unable to toggle on their flashlight after having used a ladder. Version 1.1.1 - 10-10-2010 ~ Fixed out of bounds on OnEndTouch. Version 1.1 + Added AWP to flashlight weapons + Added Atomic's ladder fix. Version 1.00 Initial release