In
Syn's No Scope Notifier v2.001 plugin the scope blocking feature has no longer worked for over 5 years now. The developer doesn't seem to be active anymore so I thought I'd get some help in fixing this plugin.
This seems to be the section that is broken:
Code:
// Block scoped shots
if(get_pcvar_num(pntr_notify_block_scope) && players_zoomed[id] > 0)
{
new morenill,morenull
new wpnindex = get_user_weapon(id,morenill,morenull)
switch(wpnindex) {
case 6,9,35: {
if(pev(id,pev_button) & IN_ATTACK && pev(id,pev_oldbuttons) & IN_ATTACK)
{
if (get_pcvar_num(pntr_notify) && get_pcvar_num(pntr_notify_block_notify))
{
set_hudmessage(255,255,255, -1.0, 0.32, 2, 0.02,5.0, 0.01, 0.1, 2)
show_hudmessage(id,"No Scope mod is running! All shots are blocked while$
set_pev(id, pev_button,pev(id,pev_button) & ~IN_ATTACK)
}
}
}
}
}
I've attached the full source below. Can anyone help me find out what is wrong with this plugin?