Inside3D!



QuakeC Pastebin Is Down For The Count, BBL

Posted by Anonymous on 2008/04/29

	if (self.weapon == IT_SHOTGUN)
{
	if (self.impulse == 2)
	{
		self.scopebutton_count = self.scopebutton_count + 1;

	//	if (self.scopebutton_time > time)

	//	{

		//	if ( (self.scopebutton_count == 2) && (!self.scope_zoomed) )

			if ( !self.scope_zoomed )
			{
		//		self.scopebutton_count = 0;

				self.scope_zoomed = TRUE;
				stuffcmd(self, "fov 30\n");
			}
		//	else if ( (self.scopebutton_count == 3) && (self.scope_zoomed) )

			else
			{
		//		self.scopebutton_count = 0;

				self.scope_zoomed = FALSE;
				stuffcmd(self, "fov 101\n");
			}
	//	}

	//	else

	//		self.scopebutton_count = 0;

	//	self.scopebutton_time = time + 999;

	}
}
Username
Recent Posts Code
    (By clicking this you are making your code public)


Generated in 0.01166s
Copyright 1996-2005 Inside3D.com