In my personal opinion, you should really switch to zp 5.0, among a lot of advantages also because of it's simplicity where u don't have to scroll through thousands of lines of code just to edit one simple line.
Again, it's all just personal preference but you still can't know what suits you the best until you actually give a try to both mods.
If u decide not to switch to 5.0, you can leave here the code for sniper mode and we'll see why model doesn't work.