Alright before you read this code, i am relatively at new coding. I have intermediate (maybe a bit more) knowledge in c++, but i want to learn amxx scripting. I have had this idea for a while about his plugin.
It basically on command searches for players with the same ip. And by cvar, blackout (mp_fadetoblack like function) those players when dead.
NOTE: i am pretty aware that this plugin might have a lot of bad written stuff but you gotta learn someday

also i couldn't test it all by myself, and that's why i came to you guys for help

I put a lot of comments so i don't forget

(force of habit

)
Now on to the code
EDIT: code removed
I appreciate any help from anyone, thank you

P.S.: i just wanted to thank MPNumB a lot, he has been very kind to me in helping me immensly with this
I am planning on releasing this plugin as soon as it becomes stable.
If you have any questions about a part of the code, let me know