i have this
PHP Code:
public function(id)
{
new weaponid = get_user_weapon(id);
new button = pev(id, pev_button);
if(weaponid == an weapon)
{
if(button & IN_ATTACK)
{
// do something
}
else if(button & IN_ATTACK2)
{
cs_set_user_zoom( id, CS_SET_AUGSG552_ZOOM, 0 )
}
}
return PLUGIN_CONTINUE;
}
How do i modifiy , when i click 2 ( IN_ATTACK2) pressed to set / remove zoom ?
This is just setting, so i need to remove it on next click2