Ive been wanting this plugin for a long time but since no one made it. I had to do something so I decided to do it myself. This plugin is actaully the first plugin i made. I ported a fair amount of plugins but that doesnt feel as good as making your own plugin.
So heres what it does, when you enable this plugin everything turns dark and the only thing you can use is a flashlight to find your enemy. And if you want advantage over others theres a price to pay 16000 for buying a Night Vision Goggle.
Its a pretty fun plugin. Thanks to Freecode's NVG plugin I learnt how to change the light of the map and Ronkkrop for some help.
I have not tested the plugin yet but hopefully it will work. Please let me know if everythings running fine with the plugin. so ill make some final touches and im always open for suggestions to improve it.
CS Hack Module Needed!
Its an approved module so theres no problem with it.
Extract the compressed zip file.
cshack_amxx.dll,cshack_amxx_amd64.so,cshack_a mxx_i386.so files
to your amxx modules folder.
Then goto your configs folder and open modules.ini
add this line to the end of the file
cshack_amxx.dll <------windows users
cshack_amxx_i386.so <-------linux users
cshack_amxx_amd64.so <------amd 64 bit processor users
so you only need to add one of the lines based on what you have.
Now for compilling the plugin you should copy the include files of CS Hack module into your amxx/scripting include folder
then you can complie the plugin.
copy PitchBlack.amxx to your amxx plugin folder and add PitchBlack.amxx line into your plugins.ini file in the configs folder.
Finally the plugins installed.
When you run your server with the installed plugin in console type amx_pbmod 1 to enable the plugin and amx_pbmod 0 to disable the plugin.
I HOPE YOU LIKE IT