You copied someone's source, pasted it in notepad, saved it as a .dll and tried to inject it?
Holy Mother Fucking Shit
EDIT: You don't make hacks in notepad.
If all you want are chams, then use some REZ chams.
Post your request here.
https://www.mpgh.net/forum/225-combat...mbination.html
Color 1: Behind the wall, can't see the enemy.
Color 2: Can see and shoot the enemy.