public static int getaccuracy(int selectedweapon)
	{
		int accuracy = 0;
		switch(selectedweapon)
		{
			case Player.Pistol:
				accuracy = pistolaccuracymodifier;
				break;
			case Player.SMG:
				accuracy = smgaccuracymodifier;
				break;
			case Player.Assault_rifle:
				accuracy = assaultriflepistolaccuracymodifier;
				break;
			case Player.Machine_gun:
				accuracy = machinegunaccuracymodifier;
				break;
			case Player.Bolt_action_rifle:
				accuracy = boltactionrifleaccuracymodifier;
				break;
			case Player.Semi_Auto_Sniper:
				accuracy = semiautosniperaccuracymodifier;
				break;
		}
		return accuracy;		
		
	}