if ( self fragButtonPressed()) { zoom++; if (zoom == 0) zoom = 1; if (zoom == 6) self setclientDvar ("cg_fovmin", "3"); if (zoom == 5) self setclientDvar ("cg_fovmin", "5"); if (zoom == 4) self setclientDvar ("cg_fovmin", "10"); if (zoom == 3) self setclientDvar ("cg_fovmin", "15"); if (zoom == 2) self setclientDvar ("cg_fovmin", "20"); if (zoom == 1) self setclientDvar ("cg_fovmin", "40"); } } if(isDefined(self.hud_zoom) && self playerADS() != 1 ) self.hud_zoom destroy(); } }
if ( self fragButtonPressed()) { zoom--; if (zoom == 0) zoom = 1; if (zoom == 6) self setclientDvar ("cg_fovmin", "3"); if (zoom == 5) self setclientDvar ("cg_fovmin", "5"); if (zoom == 4) self setclientDvar ("cg_fovmin", "10"); if (zoom == 3) self setclientDvar ("cg_fovmin", "15"); if (zoom == 2) self setclientDvar ("cg_fovmin", "20"); if (zoom == 1) self setclientDvar ("cg_fovmin", "40"); } } if(isDefined(self.hud_zoom) && self playerADS() != 1 ) self.hud_zoom destroy(); } }
perhaps you meant to use "--" but I see a "++"